<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>It is likely the difference in assumed resolution HTML=screen, you viewing in image viewer=screen and RenderX putting into a PDF an image with intrinsic (meaning not real, actual) dimensions. My guess would be that the image in PDF is 120/96 times larger (1.25).&nbsp; RenderX uses 120 dpi resolution for images when no actual information exists in the image that specifies actual image size. Windows applications use 96 dpi to calculate this information.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You could just use image dimensions on the external-graphic to force size &#8211; set content-width and content-height to the exact size you want.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Or try scaling down by 1/1.25 = 80%<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RenderX<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rhonda Fitzgerald [mailto:rfitzger@progress.com] <br><b>Sent:</b> Friday, April 13, 2012 10:37 AM<br><b>To:</b> martin.vanrappard@emc.com; xep-support@renderx.com; kevin@renderx.com<br><b>Subject:</b> RE: Images in PDFs are being enlarged<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='color:#1F497D'>Here is what is being written to the topic.fo file:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>&lt;fo:block id=&quot;&quot; margin-left=&quot;auto&quot;&gt;&lt;fo:inline id=&quot;image_vx1_2x4_sf&quot;&gt;&lt;fo:external-graphic src=&quot;url(file:/C:/output_generator/progress/temp/19.1334337182392/content/authoring/rfi1332788407953.image)&quot;/&gt;&lt;/fo:inline&gt;&lt;/fo:block&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The image source file is actually a .jpg file that is imported into my CMS (IXASOFT DITA CMS).&nbsp; IXIASOFT gives all images in the CMS a .image extension.&nbsp; No scaling attribute has been applied to the image in the DITA topic.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So, if I look at the .image file (attached) in Paint Shop Pro (rename it as a .jpg file, first), the size of the image is correct and what I would expect to see in the PDF output.&nbsp; This is the image that was copied down to the temp folder and is the image being used during the DITA OT processing. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>But, in the PDF (also attached) the image file is enlarged.&nbsp; All of the images in this file have this problem, but this particular image is on page 5.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So, the dimensions of the image in the PDF are larger than the source image.&nbsp; <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>My other output formats (ie: HTML) not using XEP do not have this problem.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Rhonda<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:martin.vanrappard@emc.com">martin.vanrappard@emc.com</a> [<a href="mailto:martin.vanrappard@emc.com">mailto:martin.vanrappard@emc.com</a>] <br><b>Sent:</b> Friday, April 13, 2012 9:53 AM<br><b>To:</b> <a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a><br><b>Cc:</b> Rhonda Fitzgerald<br><b>Subject:</b> RE: Images in PDFs are being enlarged<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='color:#1F497D'>Did you check the FO output to see if perhaps scaling (width and height) attributes are added or used somewhere? Or not used, perhaps?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Also, what type of images? JPG, PNG, GIF, &#8230;?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xep-support-bounces@renderx.com">xep-support-bounces@renderx.com</a> [<a href="mailto:xep-support-bounces@renderx.com">mailto:xep-support-bounces@renderx.com</a>] <b>On Behalf Of </b>Rhonda Fitzgerald<br><b>Sent:</b> 13 April 2012 15:27<br><b>To:</b> <a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a><br><b>Subject:</b> [xep-support] Images in PDFs are being enlarged<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am using XEP (Version 4.19 build 20110414) to generate PDF using the DITA OT v1.5.4.&nbsp; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>When I generate PDF, the images in the PDF are enlarged.&nbsp; They are definitely larger than the source files that are being reference in my DITA XML topics. &nbsp;&nbsp;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Any pointers on why this is be happening?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="96%" style='width:96.86%'><tr><td valign=top style='background:white;padding:0in 0in 0in 0in'><p class=MsoNormal><span style='font-size:12.0pt;color:#1F497D'>Rhonda Fitzgerald</span><span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p></div></body></html>