Trait exr::image::crop::ApplyCroppedView[][src]

pub trait ApplyCroppedView {
    type Reallocated;
    fn reallocate_cropped(self) -> Self::Reallocated;
}
Expand description

Realize a cropped view of the original data, by actually removing the unwanted original pixels, reducing the memory consumption. Currently not supported for SpecificChannels.

Associated Types

type Reallocated[src]

The simpler type after cropping is realized

Required methods

fn reallocate_cropped(self) -> Self::Reallocated[src]

Make the cropping real by reallocating the underlying storage, with the goal of reducing total memory usage. Currently not supported for SpecificChannels.

Implementors