[luatex] Override image resolution?

Patrick Gundlach patrick at gundla.ch
Sat Jun 18 12:13:29 CEST 2016

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.


More information about the luatex mailing list