[NTG-context] PNG image inclusion resolution

Hans Hagen j.hagen at xs4all.nl
Wed Sep 2 16:36:47 CEST 2020


On 9/2/2020 3:35 PM, Christoph Reller wrote:
> Dear List,
> 
> I am using ConTeXt LMTX 2020.08.31 22:16. Consider the following MWE:
> 
>    \starttext
>    \externalfigure[resolutionTest.png]
>    \stoptext
> 
> When comparing the output with ConTeXt MKIV, then the image size is 
> extremely small. gimp reports the resolution of resolutionTest.png as 
> 71.984 DPI. Is this a bug? (I cannot reproduce the shrinkage with 
> hacker.png.)

it's an image that has its resolution internally specified in meters and 
that bit is commented (i probably had a good reason for that but for now 
i'll uncomment it and add some safeguards for zero conversion values)

> Also, I noticed that the "resolution" key when applied as:
> 
>    \externalfigure[resolutionTest.png][resolution=150]
> 
> has no effect. What is the meaning of this key?
used in conversion features

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list