One concern I have when implementing the Rgbw pixel type is what From<> implementations to add since converting to Rgb and Bgr seems possible but could be lossy since the white component would be lost which could change the color quite drastically whereas all the other current From conversions simply change the memory layout of the same components.
For this reason I have not added any From conversions with the existing pixel types.
Fixes #21
One concern I have when implementing the
Rgbw
pixel type is whatFrom<>
implementations to add since converting toRgb
andBgr
seems possible but could be lossy since the white component would be lost which could change the color quite drastically whereas all the other currentFrom
conversions simply change the memory layout of the same components.For this reason I have not added any
From
conversions with the existing pixel types.