Two Laptop Bag*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: automatic image processing while loading picture