[texhax] Transparency via \includegraphics?

Pavel Minev Penev pavpen at berkeley.edu
Fri Sep 24 01:23:25 CEST 2004

On Thu, Sep 23, 2004 at 06:08:47PM -0400, Alexandru Scorpan wrote:
> >>Example: png via pdftex.
> >>Project: set an image with transp. background over gray page w/o
> >>getting a white surrounding rectangle.  (And without modifying the
> >>source image.)
> >
> >I am afraid that the PostScript specification defines the language as
> >drawing with opaque ink on top of a page (ink overwrites ink).
> Thx, but my question referred to a PNG image, where the transparency 
> coded into the image is simply ignored and replaced with white.

I guess you are using PDFLaTeX and the graphicx package does not
properly preserve transparency when converting PNG to PDF.  You can
either try to modify the graphicx package, or find an appropriate
external PNG->PDF/PS converter that does not replace transparent pixels
by pixels of a certain color.  Unfortunately, neither the netpbm
package, nor ImageMagick, nor GIMP seem to do what you need.

Good luck,
Pav  http://www.larouchepub.com/eirtoc/2004/eirtoc_3125.html
  ,., http://en.wikipedia.org/w/wiki.phtml?title=Frankfurt_School&oldid=4862683
,``:'', http://www.bilderberg.org/ccf.htm
{o ! o} http://en.wikipedia.org/wiki/Fabian_Society
] -+- [ http://bss.sfsu.edu/fischer/IR%20360/Readings/Readings.htm
 \ ! /  http://www.againsttcpa.com/   http://swpat.ffii.org/   My type: Dvorak.
`shell$ gpg --keyserver x-hkp://search.keyserver.net:11371 --recv-key 164C028F`

More information about the texhax mailing list