ImageMagick 6.6.3-0 2010-07-06 Q16
I use a lot of custom CMYK profiles that are a few megabytes in size due to large lookup tables. Converting the TIF and PSD below both yield a valid sRGB embedded jpeg file. But the jpeg from the PSD weighs in at over 3MB, about the size of the profile. If I further run a convert -strip -profile 'sRGB_IEC61966-2-1_black_scaled.icc' command, then the jpeg is the proper size and correct. Seems like past profiles are not always removed correctly. Or is this behavior intended?
tiftest.tif TIFF 6990x8620 6990x8620+0+0 8-bit DirectClass 244.5MB 0.030u 0:00.029
- Creator Tool : Adobe Photoshop CS3 Macintosh
Profile Description : X_GRACoL_2008.icc
ICC Profile Name : X_GRACoL_2008.icc
tiftest.jpg JPEG 1258x1551 1258x1551+0+0 8-bit DirectClass 261KB 0.000u 0:00.000
- Creator Tool : Adobe Photoshop CS3 Macintosh
Profile Description : sRGB IEC61966-2-1 black scaled
ICC Profile Name : X_GRACoL_2008.icc
- Creator Tool : Adobe Photoshop CS3 Macintosh
Profile Description : X_GRACoL_2008.icc
ICC Profile Name : X_GRACoL_2008.icc
psdtest.jpg JPEG 1258x1551 1258x1551+0+0 8-bit DirectClass 3.721MB 0.030u 0:00.029
- Creator Tool : Adobe Photoshop CS3 Macintosh
Profile Description : sRGB IEC61966-2-1 black scaled
ICC Profile Name : X_GRACoL_2008.icc
-strip
psdclear.jpg JPEG 1258x1551 1258x1551+0+0 8-bit DirectClass 197KB 0.000u 0:00.000