[][src]Function pconvert_rust::utils::write_png_parallel

pub fn write_png_parallel(
    file_out: String,
    png: &ImageBuffer<Rgba<u8>, Vec<u8>>,
    compression: CompressionType,
    filter: FilterType
) -> Result<(), PConvertError>

[SUPPORTED IN WASM] WASM stub; single-threaded write PNG to the local file system.

Arguments

  • file_out - Local file system path where to write the PNG file.
  • png - A byte buffer with the image data.
  • compression - Compression type to use in the encoding.
  • filter - Filter type to use in the encoding.