I have a problem. I am using NativeMemoryArray library, which allows me to store over int32.max amount of bytes. This array represents pixels for a large image (4 bytes per pixel). And my question is how do I actually save this array to a file? I know how to do it with smaller arrays (using BitmapEncoder), but the problem is that I can’t find a way to create a BitmapSource, because the limit is set to around 550 million pixels for 4 byte per pixel type. Thanks.
Tried creating BitmapSource that large, but got an exception.
Dmitriy Shchelkunov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.