Hi everyone.
I have a bunch of file, sizes ~ 1000px X 1000px.
Then I did a resize to smaller files "convert original.jpg -resize 80 smaller.jpg"
Now I have ~ 80px X 80px images with ~ 34kb. This is too big.
I know that I can use "quality 70" for example.
Now the question: is there a way for choosing the quality saying that the file has to be 20kb maximum for example?
Thanks
after resize - image file size issue
Re: after resize - image file size issue
Hi again, I found this command in a blog "-strip". it's working like a glove.
Now my images of 80x80 are ~2kb instead of ~20kb.
What really does the -strip command? The documentation description is too short for my knowledge, didn't helped much. Thanks imagemagick
Now my images of 80x80 are ~2kb instead of ~20kb.
What really does the -strip command? The documentation description is too short for my knowledge, didn't helped much. Thanks imagemagick
Re: after resize - image file size issue
-strip removes all the EXIF information and I pressume the EXIF thumbnail; if you had used -thumbnail instead of -resize you would not need to use -strip as it is done automaticly.
Re: after resize - image file size issue
I did a quick test, the results looks like the same.
Thanks
Thanks