[tex-eplain] pdftex + png images

Karl Berry karl at freefriends.org
Fri Jan 7 23:36:37 CET 2011

    how can I include an image in png format when using pdftex?

pdftex understands png (and jpg and pdf) natively.  So you can use the
primitives for straightforward inclusions:
\immediate\pdfximage width 1in {yourimage.png}\pdfrefximage\pdflastximage

If you want fancier options, a la the graphics/graphicx package, you can
load those packages using Eplain.


More information about the tex-eplain mailing list