[rrd-developers] Alpha transparency

Alex van den Bogaerdt alex at ergens.op.het.net
Sun Apr 10 23:34:56 MEST 2005


Auke van Leeuwen ask about transparency last week.

Auke, please try the following:

edit src/rrd_gfx.c line 708 so that it reads ...RGBA in stead of ...RGB.

You may also need to alter line 503: bytes per pixel = 4

Don't forget to actually make the background transparent or
else you will still have a solid color!

        --color CANVAS#FFFFFF80 \
        --color BACK#FFFFFF80   \

Warning: It has been a while since I looked at the code.  Normally
you get exactly 0% guaranty that it works, now even less :)

Please let us know if this helps.
Alex

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list