Web Hosting Talk







View Full Version : Web based graphics editor?


ScottBannon
05-28-2003, 03:02 PM
Does anyone know of a good script/program that allows for an embeded image editor on a website? Something that simply allows the user to manipulate an image, maybe add text to it and etc.?

Any suggestions are most appreciated.

Thanks,
Scott

null
05-28-2003, 03:59 PM
are you looking for something like this?

http://garbuz.com/vsm/?id=24

ScottBannon
05-28-2003, 04:06 PM
Thanks for the suggestion, but that's a HTML editor. What I'm looking for is something more like a web-based Paint (like M$ Paint that comes with Windows) applet or program. There are several out there that I've found, but they're a little pricey so I'm hoping to hear some opinions/suggestions from folks here before spending the money on anything.

Thanks,
Scott

Rich2k
05-28-2003, 04:18 PM
The drawing part is relatively simple, it's just a matter of capturing events. However generating the graphic files is the hard bit.

worldhive
05-28-2003, 06:21 PM
Saving an image is easy too (in java)...

I generally create a function that accepts a BufferedImage ('a' in this case) and then does this:

File file = new File("newimage.png");
ImageIO.write(a, "png", file);

Of course, you need to do this in a try/catch block, or throw the exception.
Also, import javax.imageio.*;

-Paul