background removal example not working

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
zampano

background removal example not working

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: background removal example not working

Post by magick »

Are you running under Windows? if so try double quotes rather than single quotes.
Post Reply