Commit Graph

3 Commits

Author SHA1 Message Date
karlch 2eab4db8cd Add hue, saturation, lightness to c-extension
This adds a function hue_saturation_lightness to the _c_manipulate
module.

To keep the C code clean, the files manipulate.{h,c} have been split up
into multiple header files and manipulate.c only defines the python
part.
2019-06-20 22:05:50 +02:00
karlch 32c868f6db Fix passing alpha channel to c manipulate function
The QPixmap always has an alpha channel even if the original image does
not. This lead to wrong mapping of channels and small distortions.
2019-06-20 16:51:37 +02:00
karlch a2e17f212e Implement manipulate mode 2018-01-07 23:00:45 +01:00