It's not a secret anymore!
The moose likes Java in General and the fly likes editing images then saving Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "editing images then saving" Watch "editing images then saving" New topic

editing images then saving

Thomas Franchetti

Joined: Jul 10, 2001
Posts: 5
I created an applet that uploads an image, I then edit it by drawing squares on it, and I want to save the new image back to a database, how would I go about doing this without using FileSaver()
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Loading an image and drawing on top of it is NOT the same as editing the image. In order to do that you need to read in the image file in gif or jpeg format and manipulate the pixel representations and use some I/O to write it back out. Not a trivial task.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Please continue the discussion under this thread in Java in General( Intermediate ) forum. I am closing this duplicate thread.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link:
subject: editing images then saving
jQuery in Action, 3rd edition