Make compression in IMB_allocImBuf match other places
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Dec 2013 10:41:15 +0000 (16:41 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Dec 2013 10:41:15 +0000 (16:41 +0600)
source/blender/imbuf/intern/allocimbuf.c

index fb7033e1362c1b518365a184337136c1cf4e529c..73d28cd43044d5944072147446ce7c08a355be02 100644 (file)
@@ -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 */