Replacement of color with blending to preserve antialiasing

Original PNG image: antialiased ellipses and zoomed portion (x 800%).

ellipses.png    

Below, typical color replacement using a fixed color and a tile. Note the unfortunate destruction of antialiasing. Using fuzz factors cannot help.

ellipses-noanti.png    

Below, an imporoved replacement using a fixed color and a tile, but with antialias blending.

ellipses-anti.png    
   
   

Examples with alpha (transparency)

NOTE: IE users with versions less than 5.5 will not see transparency. (Switch to Firefox!) For IE users with versions from 5.5 through 6, this page incorporates Bob Osala's pngfix to remedy IE's lack of support (until version 7) of PNG transparency.

(click to change background)

Black lissajous on transparent matte (of unknown RGB):
Note the rather imperfect original antialiasing, but the excellent replacement of same!

liss5-3-example.png    

Replace black with blue #0000ff:

liss5-3-example-rep2.png    

Replace black with tiled image:
billchen.jpg

liss5-3-example-rep3.png    

Here are some smeared out blobs of varying opacity.

Original:

Replace each color with orange:

    

Replace each color with image:

    

The ellipses again, with opaque color replaces with transparent ones.

    

    

    

A little fire? First, the original (GIF):

    

Nice antialiased frames next! (PNG)


And yellow flame converted to blue:


Anthony --- How do I combine the 8 PNG images above to get a decent animation that preserves my nice antialiased transparency?? I guess I cannot use a GIF (I tried below.)