Changed a way how RGB images are saving from RGBA
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Feb 2013 14:25:26 +0000 (14:25 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 28 Feb 2013 14:25:26 +0000 (14:25 +0000)
commit47d6d187710988f42960e28b73b59069afc2f240
tree867b659349fb37f657168c18db55c6fc0151856d
parentbad03bcfb1c3aadb8ca85575abf84766766ed48f
Changed a way how RGB images are saving from RGBA

Before alpha channel was simply ignored causing bad looking
straight colors which is pretty much useless.

Now saving RGB would alpha-over image on top of black color,
which makes final image look really nice. It's also very
such the same what other graphics software does this.

In the future we could easily support configurable backdrop
color, which would be really the same as other SW does it.

Also, it'll probably worth adding the same mode to RGB
display of image editor.
source/blender/imbuf/intern/colormanagement.c
source/blender/imbuf/intern/imageprocess.c