Captures the next frame the canvas draws (read back from the GPU surface when hardware accelerated) as PNG bytes.
public Task<byte[]> CaptureFrameAsync(CancellationToken cancellationToken = default(CancellationToken))
Cancels the wait.