Table of Contents

Method SaveBitmapToPng

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SaveBitmapToPng(SKBitmap, string)

Saves the specified bitmap to a PNG file at the given path.

public static void SaveBitmapToPng(SKBitmap bitmap, string fileName)

Parameters

bitmap SKBitmap

The bitmap image to be saved. Cannot be null.

fileName string

The path and file name where the PNG image will be saved. Must be a valid file path.