This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes automatic image processing while loading picture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "automatic image processing while loading picture" Watch "automatic image processing while loading picture" New topic
Author

automatic image processing while loading picture

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi zaemi,
I wonder how one can handle this thing: the client will be loading an image to the database via servlet and if it is in .bmp etc. format I would like to convert it automatically to jpeg and save as jpeg in the database.
2nd issue: if the pixel size is too much, how can one revert the picture to a smaller size in a html page that will be produced by getting the image from the database afterwards?
Regards,
Rustem
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
this might help you - it wont be easy but keep reading because it shows a number of options
http://www.jguru.com/faq/view.jsp?EID=159


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: automatic image processing while loading picture
 
Similar Threads
Export Applet to Image file
Applet Size
Crop an image in Java
AWT image to JPEG
How to display image in JSP from BLOB captured in Oracle