possible bug -compose overlay IM 6.8.5.0 beta Q16 Mac OSX
Posted: 2013-04-17T15:17:42-07:00
I am getting vertically striped grayscale results from composing (overlay) a grayscale image with a solid colored image.
This fails with a striped image:
imb convert rose: \
\( -clone 0 -define modulate:colorspace=HSL -modulate 100,0,100 -set colorspace sRGB -write show: \) \
\( -clone 0 -fill "#2bc6ff" -colorize 100% -write show: \) \
\( -clone 1 -clone 2 -compose overlay -composite -write show: \) \
null:
This works fine, by adding -set colorspace RGB before -compose in the 4th line
imb convert rose: \
\( -clone 0 -define modulate:colorspace=HSL -modulate 100,0,100 -set colorspace sRGB -write show: \) \
\( -clone 0 -fill "#2bc6ff" -colorize 100% -write show: \) \
\( -clone 1 -clone 2 -set colorspace RGB -compose overlay -composite -write show: \) \
null:
This fails with a striped image:
imb convert rose: \
\( -clone 0 -define modulate:colorspace=HSL -modulate 100,0,100 -set colorspace sRGB -write show: \) \
\( -clone 0 -fill "#2bc6ff" -colorize 100% -write show: \) \
\( -clone 1 -clone 2 -compose overlay -composite -write show: \) \
null:
This works fine, by adding -set colorspace RGB before -compose in the 4th line
imb convert rose: \
\( -clone 0 -define modulate:colorspace=HSL -modulate 100,0,100 -set colorspace sRGB -write show: \) \
\( -clone 0 -fill "#2bc6ff" -colorize 100% -write show: \) \
\( -clone 1 -clone 2 -set colorspace RGB -compose overlay -composite -write show: \) \
null: