On Sat, Sep 21 2024, Henning Hraban Ramm wrote:

> How can a converter function access …
> – the final (scaled) size of a placed image

Hi,

I use "figures.current().request" in my module (here attached).


> – the original pixel size of an image ?

I use img.scan() for that.

HTH,
-- 
           Peter

Attachment: grph-downsample.lua
Description: Binary data

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to