diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-19 19:02:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-19 19:02:51 +0400 |
commit | 9f9296761c3ac156ed629504b8ffeaae2b845165 (patch) | |
tree | 5a64c52f2e2dabdcfdd6e7c8b7b8a3c2a7832a1a /source/blender/imbuf/intern/allocimbuf.c | |
parent | 17c5c9935c5c8d17283fb25a1bfdf0d230698834 (diff) |
patch [#33306] Default file format: PNG, 90%
Diffstat (limited to 'source/blender/imbuf/intern/allocimbuf.c')
-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 1b3a6d4a4cd..ca0b26fa4b7 100644 --- a/source/blender/imbuf/intern/allocimbuf.c +++ b/source/blender/imbuf/intern/allocimbuf.c @@ -355,7 +355,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 = TGA; + ibuf->ftype = PNG | 90; /* the 90 means, set compression to nearly the maximum */ 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 */ |