pub fn rgb_channels<R,G,B, Create, Set, Pixels>(
        self, create_pixels: Create, set_pixel: Set
    ) -> CollectPixels<
        ReadRequiredChannel<ReadRequiredChannel<ReadRequiredChannel<NoneMore, R>, G>, B>,
        (R, G, B), Pixels, Create, Set
    >
        where
            R: FromNativeSample, G: FromNativeSample, B: FromNativeSample,
            Create: Fn(Vec2<usize>, &RgbChannels) -> Pixels,
            Set: Fn(&mut Pixels, Vec2<usize>, (R,G,B)),
    {
        self.specific_channels()
            .required("R").required("G").required("B")
            .collect_pixels(create_pixels, set_pixel)
    }
/// Read only layers that contain rgb channels. Skips any other channels in the layer.
///
/// Using two closures, define how to store the pixels.
/// The first closure creates an image, and the second closure inserts a single pixel.
/// The type of the pixel can be defined by the second closure;
/// it must be a tuple containing three values, each being either `f16`, `f32`, `u32` or `Sample`.
///
/// Throws an error for images with deep data or subsampling.
/// Use `specific_channels` or `all_channels` if you want to read something other than rgb.
Read only layers that contain rgb channels. Skips any other channels in the layer.
Using two closures, define how to store the pixels.
The first closure creates an image, and the second closure inserts a single pixel.

Throws an error for images with deep data or subsampling.
Use `specific_channels` or `all_channels` if you want to read something other than rgb.
Read only layers that contain rgb channels . Skips any other channels in the layer . Using two closures define how to store the pixels . The first closure creates an image and the second closure inserts a single pixel . Throws an error for images with deep data or subsampling . Use ` specific_channels ` or ` all_channels ` if you want to read something other than rgb .
pub fn rgb_channels<R,G,B, Create, Set, Pixels>(
        self, create_pixels: Create, set_pixel: Set
    ) -> CollectPixels<
        ReadRequiredChannel<ReadRequiredChannel<ReadRequiredChannel<NoneMore, R>, G>, B>,
        (R, G, B), Pixels, Create, Set
    >
        where
            R: FromNativeSample, G: FromNativeSample, B: FromNativeSample,
            Create: Fn(Vec2<usize>, &RgbChannels) -> Pixels,
            Set: Fn(&mut Pixels, Vec2<usize>, (R,G,B)),
    {
        self.specific_channels()
            .required("R").required("G").required("B")
            .collect_pixels(create_pixels, set_pixel)
    }
pub fn rgb_channels < R , G , B , Create , Set , Pixels > ( self , create_pixels : Create , set_pixel : Set ) -> CollectPixels < ReadRequiredChannel < ReadRequiredChannel < ReadRequiredChannel < NoneMore , R > , G > , B > , ( R , G , B ) , Pixels , Create , Set > where R : FromNativeSample , G : FromNativeSample , B : FromNativeSample , Create : Fn ( Vec2 < usize > , & RgbChannels ) -> Pixels , Set : Fn ( & mut Pixels , Vec2 < usize > , ( R , G , B ) ) , { self . specific_channels ( ) . required ( " " ) . required ( " " ) . required ( " " ) . collect_pixels ( create_pixels , set_pixel ) }
Read only layers that contain rgb channels.
Read only layers that contain rgb channels .
self
create_pixels
Create
set_pixel
Set
self
create_pixels
Create
set_pixel
Set