disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.22k stars 433 forks source link

Add function "AdjustHues" #130

Closed struffel closed 3 years ago

struffel commented 3 years ago

This is a proposal to add a new function for changing/shifting the hues in an image. The functions for converting between RGB and HSL are already in place which makes this a natural next step.

The function 'AdjustHues' gets added along with tests and sample images. The README is updated as well.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a6f4d6450cebd90111713e1688936358df489f09 on StruffelProductions:add-hue-adjustment into 339f5d48a4f3352fe8bcdefe81de01e25f711b09 on disintegration:master.

struffel commented 3 years ago

Okay, I have implemented all the suggestions you made. Hope it's ready for a merge now.

disintegration commented 3 years ago

Thank you!