[magick-users] Direct resize in inches syntax

Anthony Thyssen A.Thyssen at griffith.edu.au
Sun Dec 7 16:20:26 PST 2008


On Fri, 05 Dec 2008 14:30:42 -0600
magick-users-bounces at imagemagick.org wrote:

| Let me know if there is direct syntax to support an
| operation similar to this:
| 
|     convert in.png -resize *x4.5in out.png
| 
| Where the target height of an image is known in inches
| and the target width is desired to scale proportionately.
| 
That is not available, and even if it was you would need
to specify the 'density' or resolution of the image if
the source image did not have it defined!

IM defaults to screen resolution of 72dpi, Photos are often
a couple of orders of magnitude larger.


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
      God is in the Details!
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list