Package com.mortennobel.imagescaling
package com.mortennobel.imagescaling
-
ClassDescriptionA Bell resample filter.A box filter (also known as nearest neighbor).A B-spline resample filter.This class let you create dimension constrains based on a actual image.A Hermite resampling filter.The Mitchell resample filter.This code is very inspired on Chris Campbells article "The Perils of Image.getScaledInstance()" The article can be found here: http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html Note that the filter method is threadsafeBased on work from Java Image Util ( http://schmidt.devlib.org/jiu/ ) Note that the filter method is not thread safeThe idea of this class is to provide fast (and inaccurate) rescaling method suitable for creating thumbnails.A triangle filter (also known as linear or bilinear filter).