Author: lluis
Date: 2007-03-01 18:02:49 -0500 (Thu, 01 Mar 2007)
New Revision: 73619
Modified:
trunk/stetic/ChangeLog
Log:
Modified: trunk/stetic/ChangeLog
trunk/stetic/ChangeLog2007-03-01 23:00:18 UTC (rev 73618)
trunk/stetic/ChangeLog2007-03-01 23:02:49 UTC (rev 73619)
@@ -1,3 +1,10 @@
+
+
+2007-02-24 Zach Lute <zach.lute (AT) gmail (DOT) com>
+
+* libstetic/ImageInfo.cs: Fixed an issue in which an image thumbnail
+ wouldn't be scaled if width and height were equal. Fixes bug #80927.
+
2007-03-02 Lluis Sanchez Gual <lluis (AT) novell (DOT) com
* libstetic/Reader.cs, Fixed
Modified:
2007-03-01 23:00:18 UTC (rev 73618)
2007-03-01 23:02:49 UTC (rev 73619)
@@ -150,7 +150,7 @@
if (pix == null)
return null;
-if (pix.Width pix.Height && pix.Width thumbnailSize) {
+if (pix.Width >= pix.Height && pix.Width thumbnailSize) {
return ScaleImage (pix, thumbnailSize, thumbnailSize);
} else if (pix.Height pix.Width && pix.Height thumbnailSize) {
return ScaleImage (pix, thumbnailSize, thumbnailSize);
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com