[magick-users] specify inch, update dpi based on pixelsize
Beginner
dermot at sciencephoto.com
Fri Feb 2 13:51:10 CST 2007
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: <omicronpersei8 at imagemagick.org>
>
>
> >> 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.
More information about the Magick-users
mailing list