Struct openexr::deep::deep_scan_line_input_file::DeepScanLineInputFile[][src]

#[repr(transparent)]
pub struct DeepScanLineInputFile(_);

Implementations

Open the file at path filename and read the header.

Errors

Access to the file Header

Access to the file format version

Set the current frame buffer – copies the FrameBuffer object into the DeepScanLineInputFile object.

The current frame buffer is the destination for the pixel data read from the file. The current frame buffer must be set at least once before read_pixels() is called. The current frame buffer can be changed after each call to read_pixels().

Errors

  • Error::InvalidArgument - if the sampling factors do not match or if the frame buffer does not have a sample count slice.

Access to the current frame buffer

Check if all pixels in the data window are present in the input file

Read all scanlines in the range [s1, s2] and put them in the current frame buffer.

read_pixel_sample_counts() must be called before calling this method.

Errors

  • Error::InvalidArgument - if no frame buffer has been set, if s1 or s2 are outside the data window, or if the sample counts have not been read yet
  • Error::Base - if any other error occurs

Read the sample counts for each pixel and place them in the sample count slice in the frame buffer.

Errors

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.