This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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>
 
jQuery in Action, 2nd edition
 
subject: automatic image processing while loading picture
 
Similar Threads
How to display image in JSP from BLOB captured in Oracle
Crop an image in Java
AWT image to JPEG
Applet Size
Export Applet to Image file