right, it has nothing to do with the memorystream. the data coming from the QRCoder is apparently encoded image data, meaning they come with a header. ie. you can write those bytes in a file and if you know what format (bmp, png,…) give the file that ending and you have a valid file. does the tooltip show something after Bitmap.Create?
1 Like