ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: How to override the print resolution
Date: Tue, 05 Jul 2011 23:11:21 +0200	[thread overview]
Message-ID: <4E137DF9.5040504@wxs.nl> (raw)
In-Reply-To: <CALBOmsYw9_0R=2q2FyL=y4Vk-sYm4wda91vofv7gRTVPyAKdmQ@mail.gmail.com>

On 4-7-2011 8:20, Mojca Miklavec wrote:
> On Sat, Jul 2, 2011 at 21:31, Henning Hraban Ramm wrote:
>> Am 2011-07-02 um 13:53 schrieb Cecil Westerhof:
>>
>>> I do not know the size. This is depending on the resolution of the
>>> picture. What I want is that if I have two pictures with a resolution of
>>> 729x414 that they take up the same amount of space in the document. Now if
>>> the first picture has a printer resolution of 300x300 DPI and the second a
>>> printer resolution of 100x100 DPI, the second picture will be three times as
>>> wide and three times as high. Not very nice.
>>
>> Then you can only normalize your resolutions beforehand (or perhaps using
>> the filter module) with some image processing tool, e.g. ImageMagick,
>> GraphicsConverter, Photoshop...
>
> I never used that feature and I don't know the answer, but I agree
> with Cecil that one should be able to set a fixed resolution for all
> images with some command without having to modify images with external
> tools.
>
> pdfTeX supports that with
>      image_resolution 300
> in pdftex.cfg for example (but maybe only if resolution is not defined).
>
> Browsing the sources would suggest that
>      \setupexternalfigures[resolution=300]

That has a different purpose ... it's passed to the optional converter.

> could work, but it doesn't change anything. One also finds
> \setupsystem[resolution=...], but no effect either.

Indeed, that one is obsolete in mkiv (had to do with dvi).

But you can (still) set

\pdfimageresolution

although it might get protected in mkiv some day.

Best one can fix the image and make sure that it has the right 
resolution info embedded (one of the tags).

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2011-07-05 21:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-02 10:49 Cecil Westerhof
2011-07-02 11:08 ` Henning Hraban Ramm
2011-07-02 11:53   ` Cecil Westerhof
2011-07-02 19:31     ` Henning Hraban Ramm
2011-07-04 18:20       ` Mojca Miklavec
2011-07-04 18:52         ` Martin Schröder
2011-07-05 21:11         ` Hans Hagen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E137DF9.5040504@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).