Shadow effect

what i meant was, in gifs, you can define only 1 color as fully transparent, and with pngs you have an alpha channel which means you can have variable transparency of millions of colors. so in a png you can have pixels with any percentage of transparency. so if you are were going to make a mask image that faded from solid to transparent, a png would be smoother.