Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

editing images then saving

 
Thomas Franchetti
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please continue the discussion under this thread in Java in General( Intermediate ) forum. I am closing this duplicate thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic