<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 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",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:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle24
{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;}
/* List Definitions */
@list l0
{mso-list-id:1447500283;
mso-list-type:hybrid;
mso-list-template-ids:-420854734 314620000 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:\F0D8;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo2'><![if !supportLists]><span style='font-family:Wingdings;color:#1F497D'><span style='mso-list:Ignore'>Ø<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-AU>Is there a preflight to check if images are compatible with XEP or not?</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>What you ask can only be accomplished using XEP to format the image.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Your assumption is that something in that file is “not supported” by RenderX.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>That assumption could be correct, but it also could be and many times is simply wrong.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Many PDF tools, much like image tools and even web browsers, can effectively attempt to still process their files that are “broken”.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>A very common example in PDF are orphaned pointers within the stack that point to non-existent OBJ references.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>How they were created and/or subsequently edited can cause this. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RenderX is walking the tree to reconstruct only what is needed to recreate that PDF inside another PDF wrapped in an OBJ.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>RenderX documentation also states that PDF version support is 1.3 for images, although I have seen many later versions also work. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>http://www.renderx.com/reference.html#PDF<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Your PDF image is version 1.6. This is one thing you can check for sure.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>However, to me, the best test harness is a simple FO which includes the PDF as an image.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You would not even need to output the PDF, merely parse the formatting log for this (or any [error]).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Now, specifically in your error … if I examine the PDF standard, it clearly states that there are “3” Type entries for a cross-reference stream (0,1 and 2).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>See Table 18 in 7.5.8.3 Cross-Reference Stream Data:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><img width=492 height=434 id="Picture_x0020_1" src="cid:image001.png@01D4BF9B.F3642650"><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thus, this file is broken as the entry is wrong. This is likely why when you just save the file with Adobe Reader it “fixes” the issue.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Hugo Inacio [mailto:Hugo.Inacio@objective.com] <br><b>Sent:</b> Thursday, February 07, 2019 8:57 PM<br><b>To:</b> kevin@renderx.com; 'RenderX Community Support List' <xep-support@renderx.com><br><b>Subject:</b> RE: [xep-support] Re: Issue with PDF images<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-AU>I do know that resaving it with Adobe can correct it. XEP does not handle it, and the only way to check that is on publish time. Is there a preflight to check if images are compatible with XEP or not? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-AU>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU>Hugo<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Kevin Brown <<a href="mailto:kevin@renderx.com">kevin@renderx.com</a>> <br><b>Sent:</b> Friday, 8 February 2019 3:36 PM<br><b>To:</b> Hugo Inacio <<a href="mailto:Hugo.Inacio@objective.com">Hugo.Inacio@objective.com</a>>; 'RenderX Community Support List' <<a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a>><br><b>Subject:</b> RE: [xep-support] Re: Issue with PDF images<o:p></o:p></p></div></div><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>While it’s not our job to process some PDF, I opened your file in Adobe Acrobat and did absolutely nothing but save it (24984-1.pdf)<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I formatted the document with RenderX (image.pdf).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>What is wrong with it? Who knows? <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>We can try and analyze but the fact that I open the file with and Adobe tool and just save it seems to clear up the issue that exists in the file itself.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Hugo Inacio [<a href="mailto:Hugo.Inacio@objective.com">mailto:Hugo.Inacio@objective.com</a>] <br><b>Sent:</b> Thursday, February 07, 2019 8:01 PM<br><b>To:</b> <a href="mailto:kevin@renderx.com">kevin@renderx.com</a>; RenderX Community Support List <<a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a>><br><b>Subject:</b> RE: [xep-support] Re: Issue with PDF images<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-AU>I’m OK with it being corrupt, as long as I know how to detect the corruption before pushing it to XEP<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Xep-support <<a href="mailto:xep-support-bounces@renderx.com">xep-support-bounces@renderx.com</a>> <b>On Behalf Of </b>Kevin Brown<br><b>Sent:</b> Friday, 8 February 2019 2:59 PM<br><b>To:</b> 'RenderX Community Support List' <<a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a>><br><b>Subject:</b> [xep-support] Re: Issue with PDF images<o:p></o:p></p></div></div><p class=MsoNormal><span lang=EN-AU><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Likely the PDF you are including is corrupt or incompatible.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Please send the PDF itself.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Kevin<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Xep-support [<a href="mailto:xep-support-bounces@renderx.com">mailto:xep-support-bounces@renderx.com</a>] <b>On Behalf Of </b>Hugo Inacio<br><b>Sent:</b> Thursday, February 07, 2019 7:47 PM<br><b>To:</b> RenderX Community Support List <<a href="mailto:xep-support@renderx.com">xep-support@renderx.com</a>><br><b>Subject:</b> [xep-support] Issue with PDF images<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi ,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am getting the following issue with one of my images:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[error] Failed to create image file:/c://images/24984.pdf of type null<o:p></o:p></p><p class=MsoNormal>[error] com.renderx.graphics.ImageFormatException: Unsupported type (4) of entries in a cross-reference stream.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there a way to get more information on what this error is? And how to check for what causes this on the image itself?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal>Hugo<o:p></o:p></p></div></body></html>