Closed PeteMichaud closed 2 years ago
Thanks for raising this @PeteMichaud !!
This looks like a very serious bug which will be affecting other pixels formats. We're not applying the PixelConversionModifiers.Scale
modifier to the operation which means values are incorrect for pixel formats that don't match the original format scale.
Prerequisites
DEBUG
andRELEASE
modeImageSharp version
2.0.0
Other ImageSharp packages and versions
none
Environment (Operating system, version and so on)
win10 pro (Version 10.0.19043 Build 19043)
.NET Framework version
4.7.2
Description
I might be misunderstanding what's supposed to happen, but I think this is a bug:
Outputs:
Am I supposed to manually convert from the 32 bit
RgbaVector
values to the 16 bitHalfVector4
?Steps to Reproduce
Images
No response