![]() ![]() We can work out the dpi value with this formulaĭpi =(int)(imageWidth/GraphicsStateValue*100) ![]() Imagine we have an image which is 585×585 pixels. We saw a very large PDF file with raw images of 26,000 x 26,000 pixels which is rather excessive!Ĭombining the raw image size and the CTM does actually allow you to work out the image quality to decide how well the PDF file will scale and fit. If the raw image is bigger than the ‘slot’ you can zoom into the page and print it at high resolution. What you actually have with a PDF file is a raw image and a ‘scaling’ command to fit it into a slot on the page (the CTM matrix). Printing benefits from better images but this means bigger files. That is why most PDF creation tools allow you to specify whether you are producing files for screen or printing. The better quality, the bigger it (and the PDF) will be. This happens when the image is of a low resolution. If the image is too small, it will be stretched and the pixels will become blocky. If the image is stretched it can appear pixellated. This means that they will always appear ‘smooth and clear’. Most elements of a PDF file are device independent Vector graphics. Understanding the PDF file format – PDF image dpi He has an MA in Medieval History and a passion for reading. Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan.
0 Comments
Leave a Reply. |