Interface IBitmapImpl
Defines the platform-specific interface for a Bitmap.
[PrivateApi]
public interface IBitmapImpl : IDisposable
- Inherited Members
Properties
Dpi
Gets the dots per inch (DPI) of the image.
Vector Dpi { get; }
Property Value
PixelSize
Gets the size of the bitmap, in device pixels.
PixelSize PixelSize { get; }
Property Value
Version
Version of the pixel data
int Version { get; }
Property Value
Methods
Save(Stream, int?)
Saves the bitmap to a stream in png format.
void Save(Stream stream, int? quality = null)
Parameters
stream
StreamThe stream.
quality
int?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.
Save(string, int?)
Saves the bitmap to a file.
void Save(string fileName, int? quality = null)