Home Forums General XMetaL Discussion How to set consistent image DPI Reply To: How to set consistent image DPI

Derek Read

Reply to: How to set consistent image DPI

images (e.g. a JPG) have no DPI information, only a size in px. Its the publishing program that determines the size in inches/cm from this size, based on a DPI value. So somewhere there must be a default DPI setting that determines just exactly HOW large in inches/cm a “100%-setting” is output in the PDF.

If you are using the deliverable “XMetaL Enhanced PDF via RenderX XEP” the file that controls this is located here (on a default installation of English Windows XP):

C:Program FilesCommon FilesXMetaL SharedDITA_OTdemoxmfoCustomizationfoxslxm_image_size_fix.xsl

That file assumes a DPI setting of 96 is a good thing because it will then match what people see while editing in XMetaL Author (unless they've messed with their Windows display settings and changed them from the default value of 96). Without this the standard DITA OT setting is 72 which is more common on Macs (where our software does not run). You will see that if you are using the deliverable we call “Book via RenderX”, known as the “PDF2 transtype” in the DITA OT world.