public byte[] dataToRGBByteArray(final byte[] data,final int w,final int h){
  return data;
}

public byte [ ] dataToRGBByteArray ( final byte [ ] data , final int w , final int h ) { return data ; }
default rgb implementation just returns data
