From: juh+ntg-context--- via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: juh+ntg-context@mailbox.org
Subject: Re: setupexternalfigures and resoĺution
Date: Thu, 1 Sep 2022 19:22:28 +0200 [thread overview]
Message-ID: <61986405-0086-b053-18b7-91032915ee4c@mailbox.org> (raw)
In-Reply-To: <02b29e35-1051-15cb-086c-45775ffdab59@fiee.net>
Am 01.09.22 um 15:04 schrieb Henning Hraban Ramm via ntg-context:
> Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context:
>> Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
>>
>>> \loadluafile[grph-downsample]
>>> \doifmodeelse{print}{%
>>> \def\Resolution{300}
>>> }{%
>>> \def\Resolution{96}
>>> }%
>>>
>>> \setupexternalfigures[
>>> %directory={./Logos,img},
>>> conversion=lowres.jpg,
>>> resolution=\Resolution,
>>> ]
>>
>> With the script I get strange results. I am not sure whether the
>> resolution is correctly calculated.
>>
>> And I am wondering what the script is doing with png files.
>
> This one attacks all images, but it doesn’t calculate the final size
> correctly.
For the records.
I need a resolution of 240 to get a good looking image.
This is more or less the same quality with 150 using the other possibility.
After playing around this day I fear that postprocessing with ps2pdf is
more predictable and results in a way more tiny file.
juh
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-09-01 17:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 8:44 juh+ntg-context--- via ntg-context
2022-09-01 8:51 ` Henning Hraban Ramm via ntg-context
2022-09-01 8:56 ` Henning Hraban Ramm via ntg-context
2022-09-01 10:37 ` juh+ntg-context--- via ntg-context
2022-09-01 13:05 ` Henning Hraban Ramm via ntg-context
2022-09-01 11:43 ` juh+ntg-context--- via ntg-context
2022-09-01 13:04 ` Henning Hraban Ramm via ntg-context
2022-09-01 17:22 ` juh+ntg-context--- via ntg-context [this message]
2022-09-02 8:39 ` Keith McKay via ntg-context
2022-09-02 9:26 ` Henning Hraban Ramm via ntg-context
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=61986405-0086-b053-18b7-91032915ee4c@mailbox.org \
--to=ntg-context@ntg.nl \
--cc=juh+ntg-context@mailbox.org \
/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).