File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Image resizing before storing on file system 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 » Other JSE/JEE APIs
Bookmark "Image resizing before storing on file system" Watch "Image resizing before storing on file system" New topic
Author

Image resizing before storing on file system

sachin pachpute
Ranch Hand

Joined: Aug 05, 2004
Posts: 35
My application is successfully storing user uploaded image on a file system. Before storing the image I want to,

1. Change dimension of the image so that all images presented to user are consistent in size
2. Reduce image size to lets say 500kb

Can someone please suggest the best way to achieve this or provide any reference?


Thanks in advance
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 865
    
    5
sachin pachpute wrote:
Can someone please suggest the best way to achieve this or provide any reference?

http://www.lmgtfy.com?q=java+image+size
http://www.mkyong.com/java/how-to-resize-an-image-in-java/

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image resizing before storing on file system
 
Similar Threads
Save transparent buffered image
image repository in DB
Beginner at Image manipulation...
Image resizing, compressing before storing on file system
Checking the Filesize