|
Introduction
IntroductionA description of why this library should be used. DetailsThe core Java libraries has been capable of scaling images since the very first release of Java. In general there is two ways of scaling a image object:
The Image.getScaledInstance() approach creates a quite good scaling quality but is terrible slow. The second approach is fast but to create good looking result, you scaling must be between factor 2.0 and 0.5. (If your scaling is outside this range, you should run the algorithm multiple times - See Chris Campbell's blog The Perils of Image.getScaledInstance()). This library improve both methods. First of all the library has a abstract class AdvancedResizeOp that add the following features:
The MultiStepRescaleOp classThis class is based on Chris Cambell's work, so it generally just encapsulate the algorithm Chris described.
The ResampleOp class
QualityThe following shows you the result of a image scaled using this library.
| |
I'm so surprised that there is no comment or other kind words from users to thank you for this great library. THANKS was searching exactly for this "only" few days :)
I am about to use this library in my project i have just checked out the info on this site about your library and it is what i´ve been searching for, the other stuff i used to make this task in java did not satisfy my needs, i can see that this one is much better than the rest, Thanks for doing this kind of stuff.
Thank you so much for this, the quality of scaled image is much better than others. One thing i cannot figure out is how to come out the different results (image)you are showing above. Thanks a lot if anyone can tell me.
Can't tell you how useful this is after so much trouble getting high quality rescaled images. Thanks!