hello,
I am using below command to make background transparent. in this there is white background over there and i want to make it transparent.
convert http://www.new-website-designs.com/454_env_liner.png -alpha set -channel RGBA -fuzz 10% -fill none -floodfill +0+0 '#FFFFFF' http://www.new-website-designs.com/454_env_linernew.png
but as i run this command i got following error. What did i do wrong in this, please let me know and help me in resolving this issue.
convert.exe: unrecognized color `'#FFFFFF'' @ warning/color.c/GetColorCompliance/947.
Problem creating backgorund transparent
-
- Posts: 38
- Joined: 2010-12-14T03:56:10-07:00
- Authentication code: 8675308
Re: Problem creating backgorund transparent
This works for me with Windows command line:
This also worked:
Code: Select all
convert 454_env_liner.png -fuzz 10% -transparent #FFFFFF 454_env_linernew.png
Code: Select all
convert http://www.new-website-designs.com/454_env_liner.png -alpha set -channel RGBA -fuzz 10% -fill none -floodfill +0+0 #FFFFFF http://www.new-website-designs.com/454_env_linernew.png
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem creating backgorund transparent
As you seem to be on Windows, try double quotes around your hex color and not single quotes. Also -fuzz 10% needs to be 10%%. The percent needs to be escaped in Windows.convert http://www.new-website-designs.com/454_env_liner.png -alpha set -channel RGBA -fuzz 10% -fill none -floodfill +0+0 '#FFFFFF' http://www.new-website-designs.com/454_env_linernew.png
see
http://www.imagemagick.org/Usage/windows/
Do you have write access to http://www.new-website-designs.com/ to be able to upload after creating that file?