Am 15.10.2010 07:16, schrieb Peter Münster: > On Thu, Oct 14 2010, Peter Rolf wrote: > >> Nice to have. Is this also possible from the lua side? > > Hello, > > Perhaps with the img library of luatex (see luatex manual). > Thanks Peter! Stupid me haven't thought about the luatex manual.
local f = img.scan{ filename = "cow.jpg" } print("xsize = ",f.xsize,", ysize = ",f.ysize) Best wishes, Peter ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________