Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you have to put the pixels at the start of your image, not at the end. use:

mat.put(0,0,  bytesArrayForImage);