This patch aims at providing multiple compression modes for TIFF output, particularly uncompressed mode. ATM have None, Deflate, LZW and Pack Bits modes been integrated, mimicking The GIMP export modes (except JPEG mode, which returned encoding errors).
More modes could be added if needed.
Default remains Deflate.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
im_format.tiff_flag of the newly added scenes is not initialized.
| source/blender/makesdna/DNA_scene_types.h | ||
|---|---|---|
| 449 | Use anonymous enum instead. | |
Comment Actions
Reflect @Sergey Sharybin (sergey) requests:
- convert tiff_flag values to enum;
- set tiff_flag value at Scene init;
I also added tiff_flag initialization for BakeData.im_format (in versioning & scene_init), hope that's correct?
Comment Actions
minor note - *picky naming*
| source/blender/imbuf/IMB_imbuf_types.h | ||
|---|---|---|
| 131–134 | would rather COMPRESS, without abbreviation. (same with var names) | |