Hi,
I'm pretty new to PHP but I learnt how to build button-like graphics from
graphic fragments (buttons adjusting themselves automatically on text
size).
All the fragments (left, right and middle parts of the button) I have are
..png or .jpg files since PHP doesn't support .gif any longer. But here's my
problem. There's an area within each graphic having to be transparent when
it is displayed. For example, the buttons are slightly rounded, and the
reminder of the rectangular area should get the colour of the current
background. I seem I can't accomplish it without help from an expert.
Second question in this regard: How can I pass a HTML-like colour value
(i.e. "0xA030BF" or "#A030BF") to the function ImageTTFText()? Docs say
that I have to use ImageColorAllocate() for each one colour in the graphic.
But it should be easier to pass a text colour along with the text itself to
the button creation function.
Thanks for all your help - any answer is greatly appreciated!
Michael