Remote connection closed

Screen Shot 2021-11-02 at 09.35.29
No…This is the correct created greyscale image.

Hm, I don’t understand the image layout. I have tool that reads in all the bytes and tries to reconstruct the image, but it does not produce the correct picture.

Do you have the code of the whole application? In what exact order is the image data stored in GreyImage? E.g., first byte is is the top-left pixel, byte after that is the pixel to the right?