Re: [NTG-context] PNG image inclusion resolution

2020-09-02 Thread Christoph Reller
On Wed, Sep 2, 2020 at 4:36 PM Hans Hagen  wrote:

> 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)
>

Thank you, Hans!
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] PNG image inclusion resolution

2020-09-02 Thread Hans Hagen

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] PNG image inclusion resolution

2020-09-02 Thread Christoph Reller
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.)

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?

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___