Review Request: Fix Invert filter to not invert alpha channel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Review Request: Fix Invert filter to not invert alpha channel

Matthias Welwarsky
This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/103962/

Review request for Digikam.
By Matthias Welwarsky.

Description

Invert filter also inverts the alpha channel of an image. Afterwards, a fully opaque image becomes fully transparent (this is the normal usecase). The effect does not show under normal use, only when you use the filter in slave mode from inside another filter. The patch changes the behaviour to only invert red, green and blue color channels.

Testing

No side effect on normal usecase found.

Diffs

  • libs/dimg/filters/fx/invertfilter.cpp (a02bde0)

View Diff


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel