[][src]Function photon::effects::offset_blue

pub fn offset_blue(img: &mut PhotonImage, offset_amt: u32)

Adds an offset to the blue channel by a certain number of pixels.

Arguments

Example

// For example, to add an offset to the green channel by 40 pixels. use photon::effects; photon::effects::offset_blue(img, 40);