Skip to content

Commit 5a9ddeb

Browse files
author
Riyad Kalla
committed
Updated fix notes for 4.2 release.
1 parent 121a51e commit 5a9ddeb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README

+11
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ Changelog
2222
than GIMP's Lancsoz3 and Windows 7 built-in resize.
2323

2424
https://github.com/thebuzzmedia/imgscalr/issues/61
25+
26+
* Fixed subtle bug with incremental scaling and Mode.FIT_EXACT causing the
27+
incremental scaling to stop too soon resulting in the wrong-sized result
28+
image.
29+
30+
The stop-condition for incremental scaling assumed that in every case the
31+
width AND height would be shrinking each iteration; when using
32+
Mode.FIT_EXACT this is not necessarily true as one dimension may not change
33+
at all or stop changing before another.
34+
35+
https://github.com/thebuzzmedia/imgscalr/issues/65
2536

2637
4.1
2738
* Fixed NullPointerException that occurred when debugging was enabled

build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ limitations under the License.
2323
<property name="javadoc.link.url" value="http://download.oracle.com/javase/6/docs/api/" />
2424

2525
<property name="version.major" value="4" />
26-
<property name="version.minor" value="1" />
26+
<property name="version.minor" value="2" />
2727

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

0 commit comments

Comments
 (0)