Well, unfortunately both
BitmapFrameDecode.PixelFormat don't work in our case.
The first one returns only RGB formats (no alpha) and the second one returns an unsupported format.
I currently rely on the returned
PixelFormat from the
My only idea is to change this behaviour to use a bruteforce approach by enumerating a list of all supported formats while prefering the ones with higher
bits per pixel and
I'll probably need another day to implement the sorting algorithm, caching and loop.
Performance wise i see no problem when images get pre loaded. Support for the alpha channel and all different image formats is worth it i guess.
Here a picture of your image drawn with transparency.