\( +clone -monochrome \) does not respect parenthesis

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
bablokb
Posts: 29
Joined: 2005-06-11T06:21:59-07:00

\( +clone -monochrome \) does not respect parenthesis

Post by bablokb »

Hi,

I want to create a preview of the original image together with a monochrome-version:

convert myimage.jpg \( +clone -monochrome \) -append out.jpg

The result is that both images are monochrome. In contrast the (pseudo) b&w-version:

convert myimage.jpg \( +clone -modulate 100,0 \) -append out.jpg

works as expected (i.e. the operator operates only on the image-stack within the parenthesis).

identify -version: Version: ImageMagick 6.2.5 05/02/06 Q16 http://www.imagemagick.org
OS: Linux, OpenSUSE 10.1

Bernhard
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: \( +clone -monochrome \) does not respect parenthesis

Post by anthony »

It worked fine for me with the latest IM. You may have hit an old bug that has since been long fixed.

Code: Select all

   convert rose: \( +clone -monochrome \) -append x:
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply