PixelsService service = PixelsService.getInstance(); PixelBuffer pixbuf = service.getPixelBuffer(pixels); MappedByteBuffer plane = pixbuf.getPlane(0, 0, 0);  byte[] messageDigest = calculateMessageDigest(plane);  System.out.println("Size: " + plane);  FileOutputStream stream = new FileOutputStream("/tmp/file"); stream.getChannel().write(plane);   assertEquals(bytesToHex(originalDigests[0]), bytesToHex(messageDigest));
    public void testInitialPlane()    {    }