On 07/17/10 08:08, Aaron Lewis wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
        I'm trying to convert a image , which will make a change on its size.

        %>  convert -resize 1024x768 my-1280x800.png my-1024x768.png

        Like 1280x800 to 1024x768 , i will end up with a size at 1024x600 ,
just because 1280/800 != 1024/768 , but 1024/600.

        So how can i get a image at the `right' size , i just don't know how to
describe this problem ..

        Many thanks.

- --
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxBq1wACgkQvf41sEptMqC6jACfTTQ9TyNN/2BZxZm3+3CrFYoo
XRcAoLLaZffm+8bdHPAMqO2wic3GFMXl
=kAVD
-----END PGP SIGNATURE-----



see :
file:///usr/local/share/doc/ImageMagick/www/convert.html


-resize width
-resize widthxheight{%} {...@} {!} {<} {>} {^}

   resize an image.

By default, the width and height are maximum values. That is, the image is expanded or contracted to fit the width and height value while maintaining the aspect ratio of the image. Append an exclamation point to the geometry to force the image size to exactly the size you specify. For example, if you specify 640x480! the image width is set to
   640 pixels and height to 480.

Reply via email to