HowTo: create a gradient image
Posted: Mon Feb 27, 2006 7:57 am
I am trying to create a web page with a gradient colour as background. Since I wanted the colour to be easily changeable, I have been trying to do so by creating a css stylesheet on the fly.
I recently learned that using php it should be possible to create a gradient image on the fly.
Basically, I want a class where the image is created, so I can create an instance of that class, with parameters like Start colour, Stop colour, Start position-x, Start position-y, Width, Height.
I recently learned that using php it should be possible to create a gradient image on the fly.
Basically, I want a class where the image is created, so I can create an instance of that class, with parameters like Start colour, Stop colour, Start position-x, Start position-y, Width, Height.
- Is there anyone who would have any suggestions?
- Is there a tutorial that addresses this subject?
- Would anyone know of the existence of a class that does what I want?
- Would anyone know where I could inquire further?