-
-
Notifications
You must be signed in to change notification settings - Fork 889
Closed
Description
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp
- I have verified if the problem exist in both
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
Description
BrightnessProcessor simply scales values with no regard for values like HalfSingle whose minimum value is not zero. Presumably other FilterProcessors also have this problem.
Steps to Reproduce
Create an Image<HalfSingle> with -1 pixel values and apply a brightness scale to it. The image should remain the same, instead -1 values will be multiplied by the scale.