PDA

View Full Version : jsp gradient images


joey,choey
02-23-2009, 07:09 AM
how would i go about making this?
http://members.freewebs.com/Images/gradient.jsp?c1=ffffff&c2=000000&h=120&i=linear
if you look closely at the url, you can change the output color gradient with color codes and height/width

shyam
02-26-2009, 07:11 PM
you can use the awt library in java to do this by creating an Image and getting the Image object exported to a png. but there are potential pitfalls if you are running on a server that has no gui...then you should look into the headless mode and the varying support levels for the awt api in that