When using Bgra32 as the pixel format for DecodedImage, then connecting to XRDP works fine (colors are correct) but for Windows RDP servers, the color channels are swapped (are actually RGBA). This doesn't happen the other way around when using Rgba32, then the XRDP colors are still fine.
I'm unsure if this is actually a bug in ironrdp or just a "quirk"/limitation of the Windows RDP server.
An example screenshot using my app that uses ironrdp can be found in this issue: theCapypara/field-monitor#69