internal static Image Create(NativeHandles.ImageHandle handle) => handle != null && !handle.IsInvalid ? new Image(handle) : null;
private readonly NativeHandles.HandleWrapper <NativeHandles.ImageHandle> handle; // This class is an wrapper around this handle private Image(NativeHandles.ImageHandle handle) { this.handle = handle; this.handle.Disposed += Handle_Disposed; }