Skip to content

Image

Namespace NetWiv · Assembly NetWiv.Core

public sealed class Image : Resource
public static Task<Image> FromBytesAsync(AppHandle app, ReadOnlyMemory<byte> bytes, CancellationToken cancellationToken = null);
public static Task<Image> FromPathAsync(AppHandle app, string path, CancellationToken cancellationToken = null);
public static Task<Image> NewAsync(AppHandle app, ReadOnlyMemory<byte> rgba, uint width, uint height, CancellationToken cancellationToken = null);
public Task<byte[]> RgbaAsync(CancellationToken cancellationToken = null);
public Task<PhysicalSize> SizeAsync(CancellationToken cancellationToken = null);