IBitmapImplSave(String, NullableInt32) Method

Saves the bitmap to a file.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
void Save(
	string fileName,
	int? quality = null
)

Parameters

fileName  String
The filename.
quality  NullableInt32  (Optional)
The optional quality for compression if supported by the specific backend. The quality value is interpreted from 0 - 100. If quality is null the default quality setting of the backend is applied.

See Also