Discussion:
problem with composite, grayscale RGB images and ICC profiles
Manlio Perillo
2011-01-05 15:03:14 UTC
Permalink
Hi.

I have found a possible in composite tool:
$composite foreground.jpg background.jpg page.jpg

The images are available at:
Loading Image...
Loading Image...
Loading Image...

The foreground and background images are grayscale images, but in RGB
format; the background image has an associated ICC profile.

The resulting image in in GRAY format (1 channel only, and I assume this
is an imagemagick optimization); the problem is that imagemagick inserts
the original ICC profile in the new image, *as is*.

This is a bug, IMHO, since the original ICC profile is designed to work
with RGB image, but the new image is in GRAY format.


$composite -version
Version: ImageMagick 6.6.0-4 2010-11-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP

Debian Squeeze.


By the way:
what happens if both images have an associated (and *different*) ICC
profile?


Thanks Manlio

Loading...