/// Plan to read an additional channel from the image, with the specified name.
/// If the channel cannot be found in the image when the image is read, the image will not be loaded.
/// The generic parameter can usually be inferred from the closure in `collect_pixels`.
Plan to read an additional channel from the image, with the specified name.
If the channel cannot be found in the image when the image is read, the image will not be loaded.
The generic parameter can usually be inferred from the closure in `collect_pixels`.
Plan to read an additional channel from the image with the specified name . If the channel cannot be found in the image when the image is read the image will not be loaded . The generic parameter can usually be inferred from the closure in ` collect_pixels ` .
fn required<Sample>(self, channel_name: impl Into<Text>) -> ReadRequiredChannel<Self, Sample> {
        let channel_name = channel_name.into();
        assert!(self.already_contains(&channel_name).not(), "a channel with the name `{}` is already defined", channel_name);
        ReadRequiredChannel { channel_name, previous_channels: self, px: Default::default() }
    }
fn required < Sample > ( self , channel_name : impl Into < Text > ) -> ReadRequiredChannel < Self , Sample > { let channel_name = channel_name . into ( ) ; assert ! ( self already_contains ( channel_name ) not ( ) " " channel_name ) ; ReadRequiredChannel { channel_name , previous_channels : self , px : Default :: default ( ) } }
Plan to read an additional channel from the image, with the specified name.
Plan to read an additional channel from the image with the specified name .
self
channel_name
impl Into<Text>