Ask Your Question

Revision history [back]

As stupid as it can be I solved the issue by using the overloaded version of "put" with offset and size params, so that I can skip the extra 7 (garbage???!!!!!) bytes :

srcIrImage.put(0,0, buffer.array(), 7, imgBufLength);