[pdftex] pdfximage quickie

Paweł Jackowski P.Jackowski at gust.org.pl
Fri Sep 14 00:19:11 CEST 2007


John Culleton napisał(a):
> The following does not produce an imge but IMO should:
> \immediate\pdfximage width 3in{pice.png}

It does write the image into a PDF, but doesn't ``paint'' the image on a 
page (it creates /XObject, but doesn't refer to it with Do operator in a 
content stream.)

> \pdfrefximage\pdflastximage

And this paints the image. If one say

	\immediate\pdfximage width 3in{pice.png}

the PDF will contain *not* used image object. And in that case

	\pdfximage width 3in{pice.png}

no image will be loaded at all.

Cheers, P
Pawe/l Jackowski
P.Jackowski at gust.org.pl

More information about the pdftex mailing list