[Image-SIG] Making the "outside" of an image transparent

Paul Moore p.f.moore at gmail.com
Fri May 5 19:51:34 CEST 2006


On 5/5/06, Paul Moore <p.f.moore at gmail.com> wrote:
> I searched for a flood fill algorithm that would do what I wanted, and
> couldn't find anything that I could use. I did find one algorithm,
> which I tried to modify to do what I wanted, but I've clearly
> misunderstood something vital, as the resulting image looked identical
> to the original :-(

I managed to get the transparency side of things working - the big
problem was that I didn't realize GIF transparency worked differently
from other image formats, so I was doing the wrong thing there.

So I can get transparency set, but I still don't know a good flood
fill algorithm.

Thanks,
Paul.


More information about the Image-SIG mailing list