I am rendering a WPF UI element to a WritableBitmap which is therefore BGRA32
I would like to take this writableBitmap and render it on top of a JPEG using the JpegTools method BlendAsync.
When I try to do it I get an exception saying BGRA32 is not RGBA32, I get that.
How do I convert it into RGBA32 and provide it as a IReadableBitmap to BlendAsync?
Does anyone have any ideas? This is killing me?
I mean I know how to bit shift an int to get R,G,B,A values of course.