This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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
How to display image in JSP from BLOB captured in Oracle
AWT image to JPEG
Crop an image in Java
Applet Size
Export Applet to Image file