BobLd

Results 22 issues of BobLd

![image](https://user-images.githubusercontent.com/38405645/142765438-63e8ad6b-5614-4c97-bb78-d1f8a79c2658.png)

https://github.com/mono/SkiaSharp/pull/2883 https://github.com/mono/SkiaSharp/issues/2881

enhancement

It used to work but code was recently broken. I've added test to make sure this does not happen again @EliotJones sorry for the numerous PRs, I had time recently...

- Support 16 bits per component images - Added test with result: ![image](https://github.com/user-attachments/assets/80fd2256-e2ea-4982-b721-f0c5bc17a62f)

> System.NullReferenceException: Object reference not set to an instance of an object. at Avalonia.Rendering.Composition.Compositor.RegisterForSerialization(ICompositorSerializable) + 0x8d at Avalonia.Rendering.Composition.CompositionVisual.set_Visible(Boolean) + 0x59 at Avalonia.Rendering.Composition.CompositionVisual.InitializeDefaults() + 0x18 at Avalonia.Visual.CreateCompositionVisual(Compositor) + 0x89 at Avalonia.Visual.AttachToCompositor(Compositor)...

I found adding these events useful as a lot can happen during the 2. Let me know if any question