Forum Moderators: not2easy

Message Too Old, No Replies

Utility to replace color(s) in a GIF file

         

runner

6:32 pm on Dec 19, 2005 (gmt 0)

10+ Year Member



Anybody know of a utility that will take a GIF file and replace all pixels of a specified color with an alternate color? This will run on the server side so it must run as a script.

runner

3:36 pm on Dec 20, 2005 (gmt 0)

10+ Year Member



Tony Cook's perl module Imager-0.46 on cpan.org comes with a sample script that does exacly what I need. The script and associated docs are called replace_color