Trait exr::image::crop::ApplyCroppedView
source · pub trait ApplyCroppedView {
type Reallocated;
// Required method
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
.
Required Associated Types§
sourcetype Reallocated
type Reallocated
The simpler type after cropping is realized
Required Methods§
sourcefn reallocate_cropped(self) -> Self::Reallocated
fn reallocate_cropped(self) -> Self::Reallocated
Make the cropping real by reallocating the underlying storage,
with the goal of reducing total memory usage.
Currently not supported for SpecificChannels
.