Conversions between Luma <-> Gray and GrayA <-> LumaA are also provided as well as all the other implementations for all the other pixels as normal.
It's a bit annoying how when introducing the legacy feature we'll also have to annotate lots of the various implementations macros for Gray and GrayA will have to be annotated with #[cfg(feature = "legacy")] but I think that's probably the best way.
To be reviewed after #98.
Conversions between
Luma <-> Gray
andGrayA <-> LumaA
are also provided as well as all the other implementations for all the other pixels as normal.It's a bit annoying how when introducing the
legacy
feature we'll also have to annotate lots of the various implementations macros forGray
andGrayA
will have to be annotated with#[cfg(feature = "legacy")]
but I think that's probably the best way.