High quality thumbnail generation in java

I am generating high quality thumbnail in java for that I am using java-image-scaling High quality image scaling library which is provided under Change license to The BSD 3-Clause License

For running this program you have to include java-image-scaling-0.8.6.jar and Filter.jar
This is example to generate thumbnail with maintaining aspect ratio