Page Menu
Home
Search
Configure Global Search
Log In
Files
F23775
pngcompression.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Adam Dominec (emu)
Nov 13 2013, 5:14 PM
Size
620 B
Subscribers
None
pngcompression.diff
View Options
Index: source/blender/imbuf/intern/allocimbuf.c
===================================================================
--- source/blender/imbuf/intern/allocimbuf.c (revision 52546)
+++ source/blender/imbuf/intern/allocimbuf.c (working copy)
@@ -355,7 +355,7 @@
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 */
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a2/01/fe30d951b2bd543a3a2c082643b0
Event Timeline
Log In to Comment