18 May
2006
18 May
'06
5:21 p.m.
Sanjoy Mahajan wrote:
{\pdfimageresolution=72 \externalfigure[ch01dia1.png]}
when you set pdfimageresolution there isn't any unit either, the unit is implicit
It is defined to be an integer number of pixels per inch, in the pdftex manual.
What about a new pdftex primitive: \pdfimagepixel, which would force using a unit. Then the above would be done by \pdfimagepixel=1bp
You can (as always) propose it on the pdftex list, but i personally do not see the point. Bear in mind that the png spec is extremely clear on the use pHYs: If this ancillary chunk is not present, pixels are assumed to be square, and the physical size of each pixel is unknown. So the problem was created way before pdftex came into play. Cheers, Taco