/// A new image reader with image attributes.
A new image reader with image attributes.
A new image reader with image attributes .
pub fn new(headers: &[Header], layers_reader: L) -> Result<Self>
    {
        Ok(ImageWithAttributesReader {
            image_attributes: headers.first().as_ref().expect("invalid headers").shared_attributes.clone(),
            layers_reader,
        })
    }
pub fn new ( headers : & [ Header ] , layers_reader : L ) -> Result < Self > { Ok ( ImageWithAttributesReader { image_attributes : headers . first ( ) . as_ref ( ) . expect ( " " ) . shared_attributes . clone ( ) , layers_reader , } ) }
A new image reader with image attributes.
A new image reader with image attributes .
headers
&[Header]
layers_reader
L