i have a 3 dimensional byte array like this:
byte[][][] data = pyf.callAttr("test", red,green,blue).toJava(byte[][][].class);
here byte[0] which contains two dimensional array having pixel values of red channel
byte[0] is a 480x360 array same as byte[1] and byte[2] which holds green and blue respectively
now i want to create an 360x480 java bitmap image from this 3 dimensional byte array