cgohlke / imagecodecs

Image transformation, compression, and decompression codecs
https://pypi.org/project/imagecodecs
BSD 3-Clause "New" or "Revised" License
111 stars 21 forks source link

Initial gamma implementation #53

Closed Entropy512 closed 1 year ago

Entropy512 commented 1 year ago

Needs more testing/review for gray, and review to determine if implementation is needed for anything other than gray and rgb

Includes/depends on my other PR to this repo - will rebase if desired.

cgohlke commented 1 year ago

Thank you. I think it is OK to only handle gamma for gray and rgb profiles. Transfer functions are currently not applied to other profile kinds anyway. I'll apply this to my development version, add a simple test, and convert profile to lower case.

cgohlke commented 1 year ago

Fixed in v2022.12.22.