Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
a fool thinks himself to be wise, but a wise man knows himself to be a fool - shakespeare. foolish tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!