facebook style image resize java
Is there a java libra开发者_StackOverflowry that I can use to resize user uploaded images the way its done on facebook?
Multiple options. Recently I used java-image-scaling and it works fine. Also java.awt
has Image.getScaledInstance(..)
and I guess JAI also has such options.
There's a java library called JAI (Java Advanced Imaging). Here's an example of doing Image resizing.
Take a look at Aurigma. This is the Java plugin that Facebook used until recently; now I think they roll their own.
精彩评论