For example (simplest):
Code: Select all
montage a.jpg -profile a.icc a.tif
At the same time
Code: Select all
convert a.jpg -profile a.icc a.tif
So, is documentation wrong, or am I missing something?
Code: Select all
montage a.jpg -profile a.icc a.tif
Code: Select all
convert a.jpg -profile a.icc a.tif
Code: Select all
montage in.jpg out.jpg
I tried v7.0.0-0, v6.9.3-7, and yet one release of v6.9.3 (can't tell its exact revision because it's on a computer at work).snibgo wrote:Please, always provide the IM version number.
If I am not wrong, this behaviour is normal: while convert uses its first source image as a base for output image, so output may silently inherit some attributes from this base (if it is a file), montage always creates output image from scratch, and thus out.jpg has nothing to inherit.snibgo wrote:Worse, if in.jpg has an embedded profile, then... will silently strip the profile.Code: Select all
montage in.jpg out.jpg
Should I report it on a corresponding forum?snibgo wrote:From experiments with v6.9.2-5, it seems that montage can successfully convert an image to a profile, but it never embeds the profile in the output file. I think it should, and that this is a bug.
Code: Select all
montage rose: rose: rose: -tile 3x1 miff:- | convert - -profile /Users/fred/images/profiles/sRGB.icc rose_montage.jpg
Code: Select all
identify -verbose rose_montage.jpg
This is almost exactly what I do. "Almost" - because I create very large files (typically 8-10 GB for LZW-compressed tiff64 output), and under Windows pipe is not very effective (uses an intermediate temporary file), so in this case I prefer to create such file explicitly.fmw42 wrote:just pipe the output to convert to add the profile
Code: Select all
montage rose: rose: rose: -tile 3x1 miff:- | convert - -profile /Users/fred/images/profiles/sRGB.icc rose_montage.jpg