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