Function write_png_to_file_d

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

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.