[luatex] Override image resolution?
Peter Rolf
indiego at gmx.net
Sat Jun 18 12:49:50 CEST 2016
Hi Patrick,
Am 18.06.2016 um 12:13 schrieb Patrick Gundlach:
> Hi all,
>
> some images (jpg) have a broken resolution field. Now when loading the image in LuaTeX (0.79), I get strange results for img.width and img.height, probably because of the resolution.
>
> Is there a way to force a resolution (300x300 for example) when loading an image and ignore the setting in the file?
>
> I know of img.xsize and img.ysize, so that is not a real problem, but I am just asking.
>
I used \pdfimageresolution a few years ago. Should still be accessible
via \pdfvariable.
\pdfimageresolution 300
Best wishes, Peter
More information about the luatex
mailing list