Skip to content

Commit a75b664

Browse files
author
Riyad Kalla
committed
Work for 3.0 release
Added support for BufferedImageOps. Updated javadoc. Added a good default ConvolveOp for anti-aliasing.
1 parent 250de5b commit a75b664

File tree

3 files changed

+240
-46
lines changed

3 files changed

+240
-46
lines changed

README

+27-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/
44

55
Changelog
66
---------
7+
3.0
8+
* Big thanks to Magnus Kvalheim from http://www.movellas.com/ for help with
9+
this release!
10+
* Support for hardware-accelerated BufferedImageOp's was added to the library.
11+
You can now provide an optional BufferedImageOp to many of the methods in the
12+
imgscalr library and it will be applied to the resultant image before returning
13+
it.
14+
* Most common request was for imgscalr to apply an "anti-aliasing" filter to
15+
results before returning them; this was achieved by adding support for
16+
BufferedImageOps and providing a hand-tuned ConvolveOp to provide a good
17+
default that can be applied easily by folks that want the effect but don't
18+
want to learn all about BufferedImageOps and what "convolve" even means.
19+
* Speed/Balance/Quality THRESHOLD values were adjusted for more optimal results
20+
when relying on Method.AUTOMATIC to give good-looking results.
21+
* Javadoc was updated to clarify hardware acceleration behaviors.
22+
723
2.1
824
* Scaling of certain image types (and byte layouts) could result in very poor
925
looking scaled images ("pixelated" look, discolored dithering, etc.). This was
@@ -70,11 +86,17 @@ This library is released under the Apache 2 License. See LICENSE.
7086

7187
Description
7288
-----------
73-
A class implementing performant, good-looking and intelligent image-scaling algorithms
74-
in pure Java. This class implements the Java2D "best practices" when it comes to
75-
scaling images as well as Chris Campbell's incremental scaling algorithm proposed
76-
as the best method for down-sizes images for use as thumbnails (along with some
77-
additional minor optimizations).
89+
A class implementing performant (hardware accelerated), good-looking and
90+
intelligent image-scaling algorithms in pure Java 2D. This class implements the
91+
Java2D "best practices" when it comes to scaling images as well as Chris
92+
Campbell's incremental scaling algorithm proposed as the best method for
93+
down-sizes images for use as thumbnails (along with some additional minor
94+
optimizations).
95+
96+
imgscalr also provides support for applying arbitrary BufferedImageOps against
97+
resultant images directly in the library and provides defaults out of the box
98+
for common, hardware-accelerated options like applying a light "anti-aliasing"
99+
filter to the results.
78100

79101
TIP: All resizing operations maintain the original images proportions.
80102

build.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<property name="dir.dist" value="dist" />
55
<property name="dir.javadoc" value="${dir.dist}/javadoc" />
66

7-
<property name="version.major" value="2" />
8-
<property name="version.minor" value="1" />
7+
<property name="version.major" value="3" />
8+
<property name="version.minor" value="0" />
99

1010
<property name="name.file" value="imgscalr-lib" />
1111
<property name="name.file.javadoc" value="${name.file}-${version.major}.${version.minor}-javadoc.jar" />

0 commit comments

Comments
 (0)