-strip worked a charm thanks. -----Original Message----- From: Ludovic Levesque [mailto:[EMAIL PROTECTED] Sent: 2007-02-13 14:25 To: Rebecca York Cc: [email protected] Subject: Re: [magick-users] JPEG Compression - Image Sizes
Hi, you must drop the profile of the image. Number of lines of the output of 'identify -verbose': /tmp$ identify -verbose ImageMagick_11Qual_19K.jpg | wc -l 932 /tmp$ identify -verbose LeadTools_Save_66Qual_19K.jpg | wc -l 49 You can add -strip to your convert command. Ludovic On 2/13/07, Rebecca York <[EMAIL PROTECTED]> wrote: > I have downloaded the "ImageMagickObject (COM+)" object from the website, > and have been attempting to get it to resize the Images to the same quality > and size that our Photoshop scripts do. > > To save space in the email I've put the example images on a website (about > 350k?) > http://girlzone.me.uk/misc/ImageMagick/ImageMagick.html > > The source image is 1013x524 (Figure 5) and the target size is 391x202 > (Figure 1). > > > In the below url, Figure 1 demonstrates the Image saved down by our > photoshop scripts (which we want to replace). > Figure 2 demonstrates the output from Image Magick saved to JPEG at 100% > quality (98K) > > Now, using ImageMagick, to get the file down to the same size as the > photoshop image (19K) I have to set the JPEG quality to 11%, > however this results in extreme jpeg compression noise (see figure 3) > > We're also testing another COM tool we have called "LeadTools", however the > resizing quality of this is poor - so we have decided aganist using this as > it would require more licences. > > But, if the 100% Quality image generated by ImageMagick is opened by > LeadTools, and resaved at 66% Quality the output file (Figure 4) is 19K and > has no more jpeg compression than the Photoshop image. > > Saving the file at 66% Quality in ImageMagick results in a 30K file. > > The am using the following call to do the resize > > imageMagick.Convert "Input.jpg", "-filter", "Quadratic", "-resize", > "391x202!", "-sharpen", "1x0.75", "-unsharp", "1x0.25", "-quality", "100", > "-comment", "%f", "-sampling-factor", "2x1", "-compress", "JPEG", > "Output.jpg" > > > I'm guessing I've missed a command somewhere, but couldn't find anything > obvious in the command list. > > > > Can anyone shed any light as to why the ImageMagick jpegs are so bloated in > size? > > > Regards, > > > > Becky. > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
