[NTG-context] setupexternalfigures and resoĺution

Henning Hraban Ramm texml at fiee.net
Thu Sep 1 15:04:51 CEST 2022


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.

Hraban



More information about the ntg-context mailing list