Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Resizing images in java
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Raknarg




PostPosted: Fri Apr 04, 2014 3:33 pm   Post subject: Resizing images in java

I've been searching for a very long time. I'm trying to resize a BufferedImage, and I have tried a variety of methods. The only problem is that every single method suggested maintains the aspect ratio of the picture. I don't want to maintain that. Is it possible to resize an image to a specific width and a specific height?

There's apparently a way to do it in the Image class, getScaledInstance, but I heard it shouldn't be used anymore.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: