[−][src]Trait pix::gamma::GammaMode
Trait for handling gamma encoding/decoding
Associated Constants
const ID: GammaModeID
Required methods
fn encode<C: Channel>(c: C) -> C
Encode one Channel
using the gamma mode.
fn decode<C: Channel>(c: C) -> C
Decode one Channel
using the gamma mode.
Implementors
impl GammaMode for LinearGamma
[src]
const ID: GammaModeID
[src]
fn encode<C: Channel>(c: C) -> C
[src]
Encode one Channel
using the gamma mode.
fn decode<C: Channel>(c: C) -> C
[src]
Decode one Channel
using the gamma mode.
impl GammaMode for SrgbGamma
[src]
const ID: GammaModeID
[src]
fn encode<C: Channel>(c: C) -> C
[src]
Encode one Channel
using the gamma mode.
fn decode<C: Channel>(c: C) -> C
[src]
Decode one Channel
using the gamma mode.
impl<A: Alpha> GammaMode for Mask<A>
[src]
const ID: GammaModeID
[src]
fn encode<H: Channel>(h: H) -> H
[src]
Encode one Channel
using the gamma mode.
fn decode<H: Channel>(h: H) -> H
[src]
Decode one Channel
using the gamma mode.
impl<C: Channel, A: Alpha, M: AlphaMode, G: GammaMode> GammaMode for Gray<C, A, M, G>
[src]
const ID: GammaModeID
[src]
fn encode<H: Channel>(h: H) -> H
[src]
Encode one Channel
using the gamma mode.
fn decode<H: Channel>(h: H) -> H
[src]
Decode one Channel
using the gamma mode.