Bill Ten Broeck on wrote... | I am trying to take an image I have that has only 3 discrete colors, and | change them to a different color. I also need to add transparency. I'm | new to ImageMagick and am following the instructions at | http://www.imagemagick.org/Usage/color/#replace_draw | | The original file format I receive is gif, and I'm trying to end up with | a transparent PNG. My first step is to run the following: | | convert test.gif -matte -transparent "#000000" test2.png | | This works - no problem. However, when I then try to change one of the | colors using the above web page for examples, I end up with the new | color ALWAYS being black. | That is not a problem with IM but with Internet Explorer v6 It was BAD with regard to displaying PNG.
The solutions were not nice either. Either limit PNG to GIF like palette formats (PNG8), or add some type of java script to handle the PNG and its transparency. IE v7 has no problems with PNG images. For more details see IM Examples, Common Formats, PNG, Web Browsers and Transparency http://www.imagemagick.org/Usage/formats/#png_www | I have tried numerous input file types (created with Photoshop) and | multiple syntax variations, but the results are always the same... the | new color is black. | | I know this has to be a basic error on my part, but I have not been able | to turn anything up. Could someone possibly shed some light? | No it is Microsofts error, not Yours and not IM. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating system written for a 4 bit processor by a 2 bit company which can not stand 1 bit of competition. ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
