I am a first time ImageMagick user and a first time poster on these forums.
Anyway, I'm not sure if this has been asked or answered yet, but I had a hard time finding a solution that worked.
My problem is I need to bulk edit about 20,000 images. The source images are JPGs. They have an image in the center with a white background. I need to change the white background into a transparent background either in GIF or PNG format. PNG is preferred because of the way it handles transparency. The destination is Flash, so the IE PNG bug is not a big deal.
Here is an example of what I need done (I did this in a GUI graphics editor)
Original JPG File
GIF with Transparency
PNG with Transparency
I did find a solution which I believe is the answer, but it did not work for me.
http://studio.imagemagick.org/discussio ... php?t=6091
I tried using the suggested command:
Code: Select all
convert image.jpg -fill none -draw 'color 0,0 floodfill' output.gif
This is the output of
Code: Select all
convert image.jpg -transparent #FFFFFF -fuzz 50% image.gif
Close, but obviously, not what I am looking for. Any ideas? Thanks in advance.