In ancient time like 2011 we had to use:
convert [input] +clip-path [id] -draw "color 0,0 reset" [output].
This changed sometime and we had Topic viewtopic.php?f=3&t=22081&p=91608&hilit ... ate#p91608
and Documentation http://imagemagick.org/script/command-l ... s.php#clip was changed accordingly.
So new commandline would look like:
convert [input] -clip-path [id] -negate -draw "color 0,0 reset" [output]
But in current release:
Code: Select all
convert --version
Version: ImageMagick 6.8.9-7 Q16 x64 2014-08-16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib