Thanks, '-strip' solved the problem: mogrify -strip -quality 25% -type optimize -format jpg ...image.psd
Regards David McMillan SelectSpecs.com On 17/12/2009 20:00, "[email protected]" <[email protected]> wrote: > Message: 1 > Date: Wed, 16 Dec 2009 14:10:41 -0800 > From: Roger Howard <[email protected]> > Subject: Re: [magick-users] Reducing file sizes with mogrify > To: SelectSpecs <[email protected]> > Cc: [email protected] > Message-ID: <d0e2f55ca42bd055d63141544dc3b...@localhost> > Content-Type: text/plain; charset="UTF-8" > > > On Wed, 16 Dec 2009 11:21:27 +0000, SelectSpecs <[email protected]> wrote: >> Using a Mac 2.66 Quad running OS10.6.2, I'm creating files with mogrify: >> mogrify -quality 25% -type optimize -format jpg ...image.psd >> >> But the file sizes will not go below 33kb, irrespective of how low I make >> the quality. Using Photoshop I can produce the equivalent quality image > at >> under 2kb. >> >> Any advice on how to reduce the file size would be appreciated? > > It's entirely possible your images have very large metadata packets in them > - try adding -strip to your command, or check your output images with > exiftool to see what kind of metadata payload they contain - it's very > possible for small images to have a majority of their byte budget spent on > unnecessary metadata. Also, are you possibly using a large custom ICC > profile in your source files? > > Personally, i'd use a more fine-toothed approach to stripping metadata - > for instance, even in thumbs I'd preserve IPTC-IIM versions of the rights > information, which won't add much to your file sizes, but strip all XMP. > For larger files, I'd preserve XMP as well, but selectively remove some > fields. > > -R _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
