* PNG image inclusion resolution
@ 2020-09-02 13:35 Christoph Reller
2020-09-02 14:36 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Reller @ 2020-09-02 13:35 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 547 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 777 bytes --]
[-- Attachment #2: resolutionTest.png --]
[-- Type: image/png, Size: 2616 bytes --]
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PNG image inclusion resolution
2020-09-02 13:35 PNG image inclusion resolution Christoph Reller
@ 2020-09-02 14:36 ` Hans Hagen
2020-09-03 3:22 ` Christoph Reller
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2020-09-02 14:36 UTC (permalink / raw)
To: mailing list for ConTeXt users, Christoph Reller
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PNG image inclusion resolution
2020-09-02 14:36 ` Hans Hagen
@ 2020-09-03 3:22 ` Christoph Reller
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Reller @ 2020-09-03 3:22 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 773 bytes --]
On Wed, Sep 2, 2020 at 4:36 PM Hans Hagen <j.hagen@xs4all.nl> 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!
[-- Attachment #1.2: Type: text/html, Size: 1176 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-03 3:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 13:35 PNG image inclusion resolution Christoph Reller
2020-09-02 14:36 ` Hans Hagen
2020-09-03 3:22 ` Christoph Reller
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).