montage program does not embed ICC profile in the output file

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
yup
Posts: 8
Joined: 2016-04-10T04:32:49-07:00
Authentication code: 1151

montage program does not embed ICC profile in the output file

Post by yup » 2016-04-10T12:56:16-07:00

According to http://www.imagemagick.org/script/montage.php the montage program supports a "-profile" option. And really, presene of this parameter in the command line does not produce any error messages. But it creates output file without embedded ICC profile.

For example (simplest):

Code: Select all

montage a.jpg -profile a.icc a.tif
- produces "c.tif" that does not contain profile.

At the same time

Code: Select all

convert a.jpg -profile a.icc a.tif
- produces "c.tif" with embedded profile.

During discussion of this issue snibgo noted that

Code: Select all

montage in.jpg out.jpg
also does not write to out.jpg the embedded ICC profile that in.jpg has.

Perhaps, the latter is "by design", but the first problem (with the "-profile" option) looks like a bug.

(ImageMagick v7.0.0-0 and v6.9.3-7 on my computer. ImageMagick v6.9.2-5 on snibgo's system.)

Post Reply