Posted: 2006-04-08T07:46:39-07:00
I downloaded your image and called it test.jpg to save some typing. If you do it will show that there are three profiles in the image file. The EXIF is 5482 bytes, IPTC is 6678 and XMP is 6461.
will remove the profiles. test.jpg is 30049 bytes and test2.jpg is 11420 after the profiles are stripped.
When you save the file in Photoshop it is stripping the profiles automatically whereas ImageMagick keeps them unless you tell it to throw them away. I don't know how to strip the file in Perl but no doubt someone can help with that.
Pete
Code: Select all
identify -verbose test.jpg
Code: Select all
convert -strip test.jpg test2.jpg
When you save the file in Photoshop it is stripping the profiles automatically whereas ImageMagick keeps them unless you tell it to throw them away. I don't know how to strip the file in Perl but no doubt someone can help with that.
Pete