![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
29 Nov
2010
29 Nov
'10
3:11 p.m.
On Mon, 29 Nov 2010, Patrick Gundlach wrote:
what is the difference of img.width and img.xsize? (reference manual 4.5.2 img.keys)
For example, the cow.pdf gives me
img.width = 18646779 and img.xsize = 18089984
with a\directlua{ a = img.scan({filename = "cow.pdf"}) print("") print(a.xsize) print(a.width) img.write(a) } \bye i get This is LuaTeX, Version beta-0.65.0-2010112723 (rev 3990) restricted \write18 enabled. (./xx.tex 18089984 18089984 no difference!? Regards, Hartmut