[]
Represents an immutable image based on SkiaSharp.SKImage.
public class GcSkiaImage : IImage, IDisposable
Public Class GcSkiaImage
Implements IImage, IDisposable
| Name | Description |
|---|---|
| GcSkiaImage(GcBitmap) | Initializes a new instance of the GcSkiaImage class. |
| GcSkiaImage(Stream) | Initializes a new instance of the GcSkiaImage class. |
| GcSkiaImage(string) | Initializes a new instance of the GcSkiaImage class. |
| Name | Description |
|---|---|
| IsDisposed | Gets a value indicating whether the GcSkiaImage has been disposed of. |
| Opaque | Gets a value indicating whether the alpha channel of the drawing surface should be ignored. |
| PixelHeight | Gets the height of the image, in pixels. |
| PixelWidth | Gets the width of the image, in pixels. |
| SKImage | Gets the underlying SKImage object. |
| Name | Description |
|---|---|
| ApplyLicenseKey(string) | Applies a license key to the current instance of GcSkiaImage. |
| Dispose() | Clean up any resources being used. |
| Dispose(bool) | Performs cleanup operations on managed and unmanaged resources. |
| SaveAsJpeg(Stream, JpegOptions) | Saves the image into a stream in JPEG format. |
| SaveAsJpeg(string, JpegOptions) | Saves the image to a file in JPEG format. |
| SaveAsPng(Stream, PngOptions) | Saves the image into a stream in PNG format. |
| SaveAsPng(string, PngOptions) | Saves the image into a file in PNG format. |
| SaveAsWebp(Stream, WebpOptions) | Saves the image into a stream in WEBP format. |
| SaveAsWebp(string, WebpOptions) | Saves the image into a file in WEBP format. |
| SetLicenseKey(string) | Sets the license key. |
| ToGcBitmap(GcBitmap, Rectangle?) | Copies the current image into an existing instance of GcBitmap. |
| ToGcBitmap(Rectangle?) | Creates an instance of the GcBitmap class from the current GcSkiaImage. |
| ToSkiaBitmap(Rectangle?) | Creates an instance of the GcSkiaBitmap class from the current GcSkiaImage. |