[magick-users] RE: Resize
Nithin B.N.
nithin.bn at sonata-software.com
Fri Feb 8 01:16:03 PST 2008
Hi...
I have used convert command in my .net application. I want to know how
to distribute imagemagick with the product...Is it necessary to install
it in client's system. Or can we think of distributing only dlls.
Regards,
Nithin BN
Sonata Software Limited
-----Original Message-----
From: magick-users-bounces at imagemagick.org
[mailto:magick-users-bounces at imagemagick.org] On Behalf Of Fred Weinhaus
Sent: Friday, February 08, 2008 2:41 AM
To: magick-users at imagemagick.org
Subject: [magick-users] RE: Resize
See http://www.imagemagick.org/script/command-line-options.php#resize
To resize to some specific dimension, such as 600x300, use
convert rose.jpg -resize 600x300\! rose1.jpg
Also from your message about getting 50x50 from a 1280x960 image,
perhaps your image size is not what you think. Also be sure you do
not have a space between 50 and %, ie, it should be 50% and not 50 %.
JPG format is lossy and not a good format for trying to get exact
file sizes in bytes as a result. You can control (but not specify
exactly) the resulting file size by using the -quality option before
the output. See
http://www.imagemagick.org/script/command-line-options.php#quality
http://www.imagemagick.org/Usage/formats/#jpg_write
>Hi,
>
>Thanks
>
>We are trying to reduce a .jpg file to 50% of its original size
>We have a rose.jpg which is 1280 * 960
>
>If we use
>Convert rose.jpg -resize 50% rose1.jpg.
>
>It reduces the dimension to 50 * 50, is there a way to reduce this this
>600 * 300....I mean can it be possible reduce exactly by some %.
_______________________________________________
Magick-users mailing list
Magick-users at imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
More information about the Magick-users
mailing list