ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* JPEG images resolution and externalfigure size
@ 2017-01-12 13:45 Christoph Reller
  2017-01-13 14:12 ` luigi scarso
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Reller @ 2017-01-12 13:45 UTC (permalink / raw)
  To: ntg-context

Hi,

When using the currently latest version of ConTeXt to include a JPEG
image as in the MWE below, the resulting image size in the PDF is half
the size when compared with earlier versions.

\setupexternalfigures[location={local,global,default}]
\starttext
\externalfigure[hacker.jpg][scale=1000]
\stoptext

The actual width (in the PDF) of the hacker.jpg image is:
- ConTeXt version 2016.12.28: approx. 44 mm
- ConTeXt version 2016.07.01: approx. 88 mm

The correct width would be 86.868 mm (513 pixel / 150 DPI * 25.4).

Is there a factor 2 lost somewhere?

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: JPEG images resolution and externalfigure size
  2017-01-12 13:45 JPEG images resolution and externalfigure size Christoph Reller
@ 2017-01-13 14:12 ` luigi scarso
  0 siblings, 0 replies; 2+ messages in thread
From: luigi scarso @ 2017-01-13 14:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Jan 12, 2017 at 2:45 PM, Christoph Reller
<christoph.reller@gmail.com> wrote:
> Hi,
>
> When using the currently latest version of ConTeXt to include a JPEG
> image as in the MWE below, the resulting image size in the PDF is half
> the size when compared with earlier versions.
>
> \setupexternalfigures[location={local,global,default}]
> \starttext
> \externalfigure[hacker.jpg][scale=1000]
> \stoptext
>
> The actual width (in the PDF) of the hacker.jpg image is:
> - ConTeXt version 2016.12.28: approx. 44 mm
> - ConTeXt version 2016.07.01: approx. 88 mm
>
> The correct width would be 86.868 mm (513 pixel / 150 DPI * 25.4).
>
> Is there a factor 2 lost somewhere?
>

we  are fixing it.

-- 
luigi
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2017-01-13 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 13:45 JPEG images resolution and externalfigure size Christoph Reller
2017-01-13 14:12 ` luigi scarso

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