Use style instead of bgcolor
Start modifying the script to use RGBA instead of RGB
Calculate opacity for pngs with transparencies