Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/savers/tiff


Modified Files:
        evas_image_save_tiff.c 


Log Message:


more commit....

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/savers/tiff/evas_image_save_tiff.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_image_save_tiff.c      6 Sep 2006 07:28:46 -0000       1.2
+++ evas_image_save_tiff.c      30 Sep 2006 10:21:23 -0000      1.3
@@ -79,14 +79,7 @@
              g = (pixel >> 8) & 0xff;
              b = pixel & 0xff;
              if (has_alpha)
-               {
-                  /* TIFF makes you pre-mutiply the rgb components by alpha */
-                  a = (pixel >> 24) & 0xff;
-                  alpha_factor = ((double)a / 255.0);
-                  r *= alpha_factor;
-                  g *= alpha_factor;
-                  b *= alpha_factor;
-               }
+                a = (pixel >> 24) & 0xff;
 
              /* This might be endian dependent */
              buf[i++] = r;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to