Currently Being Moderated
Dec 31, 2007 5:45 AM
The following test PDF:
http://www.amrita-cfd.org/4adobe/trans/test.pdf
suggests that there might be a problem with transparency under
Linux AR8.1.x . It is a two page document where page 1 is a blank coloured
page and page 2 is the same blank coloured page with the addition of
a single png image containing transparency. There is a marked difference
in the page colours between page 1 and page 2. Page 1 appears
as #505050 and Page2 appears as #021518. Now there is no difference
when the document is viewed using AR8.1.1 under windows XP,
nor when viewed with xpdf . Hence this posting.
The test PDF was generated using the LaTeX file:
http://www.amrita-cfd.org/4adobe/trans/test.tex
with the PNG file:
http://www.amrita-cfd.org/4adobe/trans/trans.png
it is a green square (#ff0000) with a square transparent cutout.
After looking inside the PDF (generated using pdftex 1.40.3-2.2)
it looks like the /SMask for the png image is affecting the
whole page. For instance, one can comment out "/Im1 Do" from the page
stream, to suppress the png image, and the color for page 2 is still
affected. On the other hand, if the /SMask is commented out of
the png's /XObject then the png is drawn without transparency (the cutout
appears as a red square) and the color for page 2 is correct.
I havn't yet fully digested the PDF Reference to know whether
AR is at fault or pdftex is generating erroneous PDF.
Any guidance that can be offered on this matter would be gratefully
appreciated.
Thanks,
James Quirk