Revision b3558ce...

Go back to digest for 28th October 2012

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra] /pigment:

Fixed composite ops to handle destination with zero alpha properly

When alpha is zero the color channels do not matter. That is
(1,2,3,0) and (4,5,6,0) are completely the same colors. Our composite
ops knew about it but they didn't handle it properly when some channels
were disabled by the channelFlags. Now the channel is zeroed if it is
disabled and alpha mask of the pixel flipped to non-zero value.

File Changes

Modified 4 files
  • /pigment
  •   libs/compositeops/KoCompositeOpAlphaBase.h
  •   libs/compositeops/KoCompositeOpBase.h
  •   libs/tests/KoRgbU8ColorSpaceTester.cpp
  •   libs/tests/KoRgbU8ColorSpaceTester.h
4 files changed in total