ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Downsampling images (again)
Date: Wed, 9 Oct 2024 18:52:41 +0200	[thread overview]
Message-ID: <cdc35d2c-8c14-436b-a1fb-c07d65c74014@fiee.net> (raw)
In-Reply-To: <87y13kqi9a.fsf@a16n.net>

Am 22.09.24 um 09:06 schrieb Peter Münster:
> 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.

Hi Peter,
sorry, I forgot to answer.
I was using your code for years, and AFAIR it also doesn’t use the final 
scaled size. But I must check again – too much going on ATM…
Hraban
___________________________________________________________________________________
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	other threads:[~2024-10-09 17:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-21 11:21 [NTG-context] " Henning Hraban Ramm
2024-09-21 14:30 ` [NTG-context] " Alan Braslau via ntg-context
2024-09-21 19:44   ` Henning Hraban Ramm
2024-09-23  1:48     ` Alan Braslau via ntg-context
2024-09-22  7:06 ` Peter Münster
2024-10-09 16:52   ` Henning Hraban Ramm [this message]
2024-10-16 17:59   ` Henning Hraban Ramm
2024-10-17 11:11     ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cdc35d2c-8c14-436b-a1fb-c07d65c74014@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).