I'm trying to load .RAW image from file and display it into canvas background (in WPF). File only contains HEX data (without header, but resolution and color is known) - photo viewer cannot display it (because there is no info in header), however in IrfranView after resolution and color is specified, it can be displayed.
Sorry if any duplicates exist, I tried to find some solutions carefully but unfortunately I couldn't find any solution, that worked int WPF. Mostly they were designed for Forms app, not WPF.
To specify my question: How to load .raw data from file, convert it to bitmap and display it in canvas background? Width and height, color (32bit RGBA) are known and pixel HEX raw data are stored in .raw file.