See http://www.cit.gu.edu.au/~anthony/graphics/imagick/thumbnails/

<quote>General Thumbnail Creation
Generate Thumbnails to a specific height

Lets convert a large sample JPEG image to a GIF thumbnail 90 pixels high, with the width automatically adjusted (within the 250 pixel width limit) preserve the aspect ratio of the image.


    convert -size 500x180  hatching.jpg  -thumbnail 250x90 height.gif


        [IM Output]

Note that I used the "-thumbnail" option above. This not only resizes the image, but strips any and all profile and comment information that may be present in the original JPEG image.

I also set a minimum "-size" for the image being read in. This is passed to the JPEG library, which will return an image somehere between this size and double this size (if posible), rather that the whole very large original image. Basically don't overflow the computers memory with an huge image when it isn't needed.

The "-size" value I use is double that of the final thumbnail so that resize will still generate an reasonable result.
</quote>

On Apr 28, 2006, at 7:06 AM, Robert Garcia wrote:

So anyway, ImageMagick support this hinting. It is NOT documented anywhere, as far as I know, I just stumbled on it.

Bill

William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
   vox:  650.327.2175 (direct)
   fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
   web:  http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to