pub fn ncchannels_reverse(channels: impl Into<NcChannels_u64>) -> NcChannels_u64Expand description
Returns the NcChannels_u64 with the fore- and background’s color information
swapped, but without touching housekeeping bits.
Alpha is retained unless it would lead to an illegal state: HIGHCONTRAST,
TRANSPARENT and BLEND are taken to OPAQUE unless the new value is RGB.
Method: NcChannels.reverse()