Page 1 of 1

background removal example not working

Posted: 2009-11-06T06:50:19-07:00
by zampano
Hi Folks,

The background removal example

Code: Select all

convert cyclops.png -matte -fill none -draw 'matte 0,0 floodfill' cyclops_flood_1.png
found in http://www.imagemagick.org/Usage/channe ... _floodfill

does not work in Version 6.5.7-5. Im getting the following error messages.

convert.exe: Non-conforming drawing primitive definition `matte' @ draw.c/DrawImage/3140.
convert.exe: unable to open image `0,0': No such file or directory @ blob.c/OpenBlob/2480.
convert.exe: unable to open image `floodfill'': No such file or directory @ blob.c/OpenBlob/2480.
convert.exe: Non-conforming drawing primitive definition `matte' @ draw.c/DrawImage/3140.

Can any provide a WORKING example?
Please Help!

Thanks,
Frank

Re: background removal example not working

Posted: 2009-11-06T07:24:02-07:00
by magick
Are you running under Windows? if so try double quotes rather than single quotes.