imgscalr 4.2

Java Image-Scaling Library
imgscalr is a very simple and efficient (hardware accelerated) “best-practices” image-scaling library implemented in pure Java 2D.

As of the 4.0 release imgscalr now includes a handful of other convenience image operations, all as easy to use as resize.

This library makes uses of efficient Java2D scaling techniques advocated by the Java2D team which provides hardware accelerated operations on most platforms.

This library also implements the optimized incremental scaling algorithm proposed by Chris Campbell with some minor enhancements for good-looking (and quick) thumbnail generation (previously only possible with the discouraged Image.getScaledInstance method using the much slower SCALE_AREA_AVERAGE algorithm).

Main features:

  • 100% Java code based on Java2D, no native libraries to install
  • Java that works in “headless” environments without special environment variable settings; it just works.
  • Because there are no native libraries, you mitigate the risk of native libraries crashing the host VM (e.g. your app server) or thread-contention issues
  • Hardware accelerated on supported platforms (uses the optimized Java2D rendering pipeline)
  • Fast; not faster than a native-C solution, but still damn fast.
  • Simple, simple, simple. A handful of static, 1-word methods you can call. No complex configurations, managers, encoders/decoders or any other nonsense. imgscalr is not a “graphics library”, it is a set of the most commonly used graphic operations, optimized and ready to do your bidding.

last updated on:
February 6th, 2012, 13:40 GMT
file size:
967 KB
price:
FREE!
developed by:
The Buzz Media
license type:
Freeware
category:
C: \ Desktop and Shell \ Development

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in This Release:
  • Added support for a new Method.ULTRA_QUALITY scaling method. This new method uses 3.5x more incremental steps when scaling an image down than the QUALITY method, providing a much more accurate result. This is especially noticeable in thumbnails that have diagonal lines that get jagged during down-sizing with QUALITY or lower methods. The quality of the ULTRA_QUALITY scaling method is almost on par with the image resize functionality built into Mac OS X; that is to say it is better than GIMP's Lancsoz3 and Windows 7 built-in resize.
  • Fixed subtle bug with incremental scaling and Mode.FIT_EXACT causing the incremental scaling to stop too soon resulting in the wrong-sized result image. The stop-condition for incremental scaling assumed that in every case the width AND height would be shrinking each iteration; when using Mode.FIT_EXACT this is not necessarily true as one dimension may not change at all or stop changing before another.
read full changelog

Add your review!

SUBMIT