Rezize a jpg like jpg compression
Posted: 2009-06-01T11:44:19-07:00
Hi
I have to reduce the size a jpg picture to a maximum picture size of 1028x1028 and a maximum file size of 248kB.
I tried to use convert -resize but there I just can change the picture size but could not find how to reduce the file size at the same time or step by step. If using a photoshop programm like ACDsee I can first set the picture size (width x height) and then choose a compression factor. My original jpg file specs are e.g. 1.8 MB with 2592x1944 px. If I use a size of 1028x1028 with a compression factor of 30% I easily get below 248KB.
Unfortunately there is no ACDsee available for Linux. Therefore I try to find a work around with Image Magick. Is there something similar like the compression factor of 30%?
Best regards
Rainer
I have to reduce the size a jpg picture to a maximum picture size of 1028x1028 and a maximum file size of 248kB.
I tried to use convert -resize but there I just can change the picture size but could not find how to reduce the file size at the same time or step by step. If using a photoshop programm like ACDsee I can first set the picture size (width x height) and then choose a compression factor. My original jpg file specs are e.g. 1.8 MB with 2592x1944 px. If I use a size of 1028x1028 with a compression factor of 30% I easily get below 248KB.
Unfortunately there is no ACDsee available for Linux. Therefore I try to find a work around with Image Magick. Is there something similar like the compression factor of 30%?
Best regards
Rainer