raster pushed a commit to branch master.
commit b77016ad0282cc7061f9308287b63aba5a7c2545
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Sun May 12 15:50:52 2013 +0900
fix cedric's image property code... that broke load opt downscaling...
CEDRIC... it WAS YOU!... YOU BROKE ETHUMB!... i was.. RIGHT! :) well
done. your borking skills are pretty good. :) you broke load opt
downscaling for jpegs in general.. it just happened to turn up in
ethumb.
---
src/lib/evas/common/evas_image_load.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/evas/common/evas_image_load.c
b/src/lib/evas/common/evas_image_load.c
index cb03c7a..006a724 100644
--- a/src/lib/evas/common/evas_image_load.c
+++ b/src/lib/evas/common/evas_image_load.c
@@ -395,7 +395,7 @@ evas_common_load_rgba_image_data_from_file(Image_Entry *ie)
memset(&property, 0, sizeof (Evas_Image_Property));
property.w = ie->w;
property.h = ie->h;
- property.scale = property.scale;
+ property.scale = ie->scale;
property.rotated = ie->flags.rotated;
property.premul = EINA_FALSE;
property.alpha_sparse = EINA_FALSE;
--
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may