Page 1 of 1

file size of a resized image

Posted: 2007-11-12T14:40:23-07:00
by webshaker
Hi I try to resize a big jpeg image to make a thumb....

the original picture is this one
http://scrapblog.chez-les-filles.com/rp ... =54.a5e682

the thumb is there
http://scrapblog.chez-les-filles.com/rp ... =54.a5e682

the command I use is the next one
convert -quality 85 -delay 250 thumb.jpg -resize 128x128 original.jpg

the question is:
Why does my thumb filesize is 30ko !!!!
It seem to be a litlle big no ?

thank's
Etienne

Re: file size of a resized image

Posted: 2007-11-12T14:41:54-07:00
by magick
Add -strip to your command line to remove any image profiles and reduce the thumbnail size.

Re: file size of a resized image

Posted: 2011-08-30T07:07:34-07:00
by Tomass
Hello!! anyone knows how to resize images based on file size ??

Re: file size of a resized image

Posted: 2011-08-30T07:53:28-07:00
by magick
We support resize on image size only for JPEG with -define jpeg:extent=value, for example -define jpeg:extent=400kb.

Re: file size of a resized image

Posted: 2011-09-08T11:03:35-07:00
by BDiana
Hi Tomas

I would assume the factors of reduzing the file size of any image have a whole
array of choices, such as resolution, compression, color, frames elimination,
layers, proper output, quality, size etc.etc.

However, I wonder why you asked a command line question in the IM studio
forum? Perhaps the proper place to asked this might give you more user
exposure and might lead to your problem's solution faster.

This site of the forum was designed for the online Internet version of ImageMagick.
No command line involved.

Thanks for your understanding.