is there system property or other parameter can passed pdfbox when attempting convert pdf document image? utilizing provided pdf2image class so:
string[] args = new string[]{"-imagetype", "jpg", "myfile.pdf"}; org.apache.pdfbox.pdftoimage.main(args);
it works great on windows , fails warning on ubuntu:
[org.apache.pdfbox.util.pdfstreamengine] java.lang.nullpointerexception java.lang.nullpointerexception @ org.apache.pdfbox.pdmodel.font.pdtype1font.getawtfont(pdtype1font.java:261)
i assume research problem "missing" font, i've found little far using google , projects website.
i've tried both versions 1.7.1 , 1.8.2 of pdfbox.
similar question here: setting ttf pdf image on pdfbox
Comments
Post a Comment