[Bf-blender-cvs] [a2543ee] master: Make compression in IMB_allocImBuf match other places

Sergey Sharybin noreply at git.blender.org
Mon Dec 16 11:41:47 CET 2013


Commit: a2543ee43dc6a35b36a8feda83679bf3e22e218d
Author: Sergey Sharybin
Date:   Mon Dec 16 16:41:15 2013 +0600
http://developer.blender.org/rBa2543ee43dc6a35b36a8feda83679bf3e22e218d

Make compression in IMB_allocImBuf match other places

===================================================================

M	source/blender/imbuf/intern/allocimbuf.c

===================================================================

diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c
index fb7033e..73d28cd 100644
--- a/source/blender/imbuf/intern/allocimbuf.c
+++ b/source/blender/imbuf/intern/allocimbuf.c
@@ -361,7 +361,7 @@ ImBuf *IMB_allocImBuf(unsigned int x, unsigned int y, uchar planes, unsigned int
 		ibuf->x = x;
 		ibuf->y = y;
 		ibuf->planes = planes;
-		ibuf->ftype = PNG | 90; /* the 90 means, set compression to nearly the maximum */
+		ibuf->ftype = PNG | 15; /* the 15 means, set compression to low ratio but not time consuming */
 		ibuf->channels = 4;  /* float option, is set to other values when buffers get assigned */
 		ibuf->ppm[0] = ibuf->ppm[1] = IMB_DPI_DEFAULT / 0.0254f; /* IMB_DPI_DEFAULT -> pixels-per-meter */




More information about the Bf-blender-cvs mailing list