diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-16 14:41:15 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-16 14:41:15 +0400 |
commit | a2543ee43dc6a35b36a8feda83679bf3e22e218d (patch) | |
tree | bbfe588420734629410ed9f4f504720e84aabebc /source | |
parent | 17604cded975dcd765141cd1ca93c23d40b33484 (diff) |
Make compression in IMB_allocImBuf match other places
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/allocimbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |