Correct, I want to alter the density. But I want to specify the geometry in inch or cm,
and have IM to calculate the dpi automatically. Is that possible?

----- Original Message ----- From: "Beginner" <[EMAIL PROTECTED]>
To: "Per" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Friday, February 02, 2007 8:51 PM
Subject: Re: [magick-users] specify inch, update dpi based on pixelsize


On 2 Feb 2007 at 19:50, Per wrote:

I dont want to resample. I want to change the dpi, but I want to specify the
inch.

----- Original Message ----- From: <[EMAIL PROTECTED]>


>> How do I update the dpi of an image while making IM calculate the >> actual
>> dpi?
>
> Try -resample.

If you don't want to resample because you don't want to alter the
original image then perhaps -density is what your after.

from 6.2.4 docs:

..snip:
The density option is an attribute and does not alter the underlying
raster image. It may be used to adjust the rendered size for desktop
publishing purposes by adjusting the scale applied to the pixels. To
resize the image so that it is the same size at a different
resolution, use the -resample option.


also see -units

HTH,
Dp.




_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to