[OSM-talk] New static-maps API - relations
Yann Coupin
yann at coupin.net
Tue Jul 7 23:29:08 BST 2009
If my memory is correct you first do a "createcoloralpha(r,g,b,a)"
where r,g,b & a are 8 bits values but I don't remember if 0 is full
transparent or full opaque. You then use that color as usual. You may
have to first create a fully transparent color and use it to fill the
entire image otherwise the resulting image ends up opaque.
Yann
Le 7 juil. 09 à 23:56, OJ W a écrit :
> p.s. I'm still trying to figure-out transparency in GD. Anyone know
> how to put a semitransparent line on a transparent background, and
> save the result as PNG?
More information about the talk
mailing list