Skip to content
Commit 2bcf9912 authored by André Agenor's avatar André Agenor
Browse files

Speed up invert colors effect



Summary:
Signed-off-by: default avatarAndré Agenor <andreagenor@icloud.com>
If all channels are selected a native Qt function is called, it is faster than calculating all channels and pixels in a loop
This is 97% faster than before

Reviewers: tcanabrava

Reviewed By: tcanabrava

Subscribers: pino

Differential Revision: https://phabricator.kde.org/D20334
parent 777e84cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment