Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-12-16 14:41:15 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-12-16 14:41:15 +0400
commita2543ee43dc6a35b36a8feda83679bf3e22e218d (patch)
treebbfe588420734629410ed9f4f504720e84aabebc /source/blender
parent17604cded975dcd765141cd1ca93c23d40b33484 (diff)
Make compression in IMB_allocImBuf match other places
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/imbuf/intern/allocimbuf.c2
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 */