[pdftex] PDF image included in PDF: colour messed up

Heiko Oberdiek oberdiek at uni-freiburg.de
Thu Sep 12 23:41:19 CEST 2002

On Thu, Sep 12, 2002 at 03:26:28PM -0400, Maciej Kalisiak wrote:

> I'm getting bizarre colour distortion when I include a PDF containing a
> colourful image into a master PDF file.  See
> http://www.dgp.toronto.edu/~mac/bugs/pdftex/triangle-src.png
> http://www.dgp.toronto.edu/~mac/bugs/pdftex/triangle-final.png
> (the first, source image contains a triangle which blends three
>  gradients, one from each corner of the triangle; when included in a PDF
>  using "pdflatex", both "acroread" and "xpdf" show it embedded with the
>  colours mixed up, as seen in second picture)

Perhaps a problem with a limited number of colors of your
screen graphics mode. I could successfully embed triangle-src.png
with pdfTeX of TL7 (1.00b).

> Workflow:
>     - create triangle PNG in gimp
>     - png used in an XFig figure
>     - fig exported as a PDF

Why? You can directly use PNG with pdfTeX.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

More information about the pdftex mailing list