72 dpi web image to 300 dpi pdf image not proportioned

72 dpi web image to 300 dpi pdf image not proportioned

Forum member · May 11, 2006
Hi, I am interested in buying the dynamicPDF Generator for our business in order to allow users to edit text on print mediums online then view the text changes in your dynamic PDF Generator. However, it seems I am having a problem with the image proportions in that it skews from web to the PDF, even though they are both 432px X 288px (web at 72dpi and print at 300dpi). 1. It says in your online help that dynamicPDF Genrator operates on a 72dpi coordinate system. 2. I have a rectangle on a 72 dpi image (432px X 288px) set at x=20 y = 75 width = 60pt height = 20pt 3. I carried those coordinates over to a PDF through Dynamic PDF Generator and applied the same coordinates to the same exact image at 300dpi (432px X 288px). 4. It seems that the height, width, x and y are correct, but the images aren’t the same scale. Again, it says in the online help that dynamicPDF Genrator operates on a 72dpi coordinate system, and I can’t figure out the difference since the images are exactly the same, except one is 72 dpi and the other is 300dpi. I’d like to buy your product and use it if I can overcome this issue. Is there something I am missing?

Re: 72 dpi web image to 300 dpi pdf image not proportioned

Support · May 11, 2006
DynamicPDF Generator uses printing points (72 points to an inch) and is not fixed at any dpi. Printing points are a unit of measure commonly used in the printing industry and is the basic unit used in PDF. Images can be added to the document at any dpi. The scale properties of an image specify the number of image points per pixel, meaning a scale of 1 = 72 dpi, and a scale of 0.24 = 300 dpi (72 points per 300 pixels = 0.24). DynamicPDF Generator does not resample images, so pixel width and pixel height are always preserved. However, if the scale of the image is decreased its dpi will increase but its actual point width and/or height will decrease. If a 300 x 300 pixel image is placed at 72 dpi (scale of 1), its width and height will be 300 x 300 points or 4.1667 x 4.1667 inches. If the same 300 x 300 pixel image is placed at 300 dpi (scale of 0.24), its width and height will be 72 x 72 points or 1 x 1 inch. Some images have a preferred scale embedded within them. If this information is in the image, this will be used as the default by our product. There are several methods and properties on the Image Page Element that can be used to set and read the scale. You may find these useful. Keep in mind that they are all related (e.g. changing ScaleX will cause HorizontalDpi to change and visa versa): - SetDpi() - SetSize() - SetBounds() - HorizontalDpi - ScaleX - ScaleY - VerticalDpi Thanks, ceTe Software Support Team