<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Apr 2024 at 10:01, Linas Stonys <<a href="mailto:lstonys@vtex.lt">lstonys@vtex.lt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I get different colors of png image (attached europe.png) when I <br>
compile lualatex and pdfflatex.<br>
Image contains some "transparency group".<br>
Differences are seen in acrobat but pdfxchange and sumatra shows the <br>
same (normaly like pdflatex did)<br>
See attached wrong_image_diff.png.<br>
<br>
Here's what one expert told me about pdfs with this image:<br>
"""<br>
pdflatex inserts parameters dictionary 'Group' inside the page <br>
dictionary and luatex doesn't.<br>
Acrobat precisely interprets all parameters that's why the view is <br>
different. Other viewers<br>
work mach simpler and the view gets the same.<br>
'transparency group' mast exists because image is with the 'soft mask' which<br>
meant that image mast be painted with 'transparent imaging model'.<br>
I guess that luatex draws image with 'opaque imaging model'<br>
"""<br>
<br>
I hope you'll understand this comment (I translated it to english :))<br>
Could luatex load png like pdftex does?<br>
<br></blockquote><div><br></div><div>In context mkiv this seems to be ok:</div><div><br></div><div>%%\nopdfcompression<br>\TransparencyHack<br>\starttext<br>\externalfigure[europe.png]<br>TEXT<br>\stoptext <br></div><div><br></div><div>Perhaps in lualatex there is something similar ?</div><div><br></div><div>--</div><div>luigi</div></div></div>