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
\( +clone -monochrome \) does not respect parenthesis
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: \( +clone -monochrome \) does not respect parenthesis
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/
https://imagemagick.org/Usage/