Sorry, this is a documentation problem. It has no influence except on
meta data in the jpeg. Source excerpt:
jfif.setAttribute("Xdensity", Integer.toString(dpi));
jfif.setAttribute("Ydensity", Integer.toString(dpi));
So the parameter just tells what dpi your file is. If
Hi,
I am trying to compress images in a PDF file, and thought I was doing the
correct thing in this code snippet:
PDImageXObject imageObject = (PDImageXObject) xObject;
BufferedImage image = imageObject.getImage();
PDImageXObject newImageObject =
JPEGFactory.createFromIma
2 matches
Mail list logo