From a2543ee43dc6a35b36a8feda83679bf3e22e218d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 16 Dec 2013 16:41:15 +0600 Subject: Make compression in IMB_allocImBuf match other places --- source/blender/imbuf/intern/allocimbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c index fb7033e1362..73d28cd4304 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 */ -- cgit v1.2.3