Skip to main content

compact_to_buf_with_pulse

Function compact_to_buf_with_pulse 

Source
pub fn compact_to_buf_with_pulse(
    view: &PixelView<'_>,
    pulse: Option<&dyn Pulse>,
) -> Result<Option<PixelBuf>, At<ConvertError>>
Expand description

Analyze view and compact into a newly allocated PixelBuf with optional cooperative cancellation and progress via pulse (pass None when not needed).