On Fri, Feb 22 2019, Rudolf Bahr wrote:

> The picture sizes in px One gets by invoking for instance graphics Magick's 
> identify
> in a lua program:

Or just img.scan():

\startluacode
  local image = img.scan{filename = "my-image.jpg"}
  logs.report("xsize", image.xsize)
  logs.report("ysize", image.ysize)
\stopluacode

-- 
           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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to