This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My application is successfully storing user uploaded image on a file system and image name in the database. If size of the image is large, it will throw an error. Its Spring 3/ Hibernate application.
Now I want to,
1. Change dimension of the image before storing on file system
2. Rather than throwing an error (if image size is large), I want to compress image to the maximum allowed limit (set by me) and then store it
Can someone please suggest the best way to achieve this or a reference?
Thanks in advance
Joined: Aug 05, 2004
closing this post because this forum seems to be incorrect for this topic