[ale] fixing a GIF

Geoffrey esoteric at 3times25.net
Fri Dec 5 09:25:11 EST 2003


Bob Slaughter wrote:
> I have a GIF that is a dump of a CAD drawing, WHITE lines on a TAN background 
> (it was used as a web-page background, hence the non-dramatic colors). Is 
> there a simple way to change every occurance of WHITE to BLACK, then TAN to 
> WHITE? I didn't see anything like this in GIMP, so maybe editing or running a 
> custom script to rewrite the source file?

Select the white by color.  Choose foreground color to be black, chose 
the 'fill with color or pattern' tool (looks like a bucket) click mouse 
on the white background, it will turn black.  While it's still selected, 
choose the invert selection, change foreground color to white, click 
mouse on one of the tan lines.

Understand, if there is any variance in the colors, the change won't be 
100%.  In such a situation you could use the 'select contiguous regions' 
tool.

-- 
Until later, Geoffrey	esoteric at 3times25.net

Building secure systems inspite of Microsoft



More information about the Ale mailing list