[][src]Function pconvert_rust::utils::write_png_to_file_d

pub fn write_png_to_file_d(
    file_out: String,
    png: &ImageBuffer<Rgba<u8>, Vec<u8>>
) -> Result<(), PConvertError>

Writes a PNG to the local file system using the default compression and filter settings.

Avoid the usage of external enumeration values.

Arguments

  • file_out - Local file system path where to write the PNG file.
  • png - A byte buffer with the image data.