imgscalr is an open source, easy to use library implementing performant, good-looking and intelligent image-scaling algorithms in pure Java.
imgscalr implements the Java2D "best practices" when it comes toscaling images as well as Chris Campbell`s incremental scaling algorithm proposed as the best method for down-sizes images for use as thumbnails (along with some additional minor optimizations).
imgscalr attempts to make scaling images in Java simpler by providing a handful of approaches tuned for scaling as fast as possible or as best-looking as possible.
Requirements:
· Java
What`s New in This Release: [ read full changelog ]
· Default proportional-scaling logic is more straight forward. If an image is
· landscape then width is the preferred dimension and the given height is ignored
· (and recalculated) and visa-versa if the image is portrait oriented. This gives
· much better "default behavior" results.
· Added new convenience method resize(BufferedImage,int,int)
· Modified build.xml to output Maven-friendly artifact names.