Apparently when you declare a 2D array you can't initialize the size of the second dimension. This what I'm doing right now...
PHP Code:
            byte[][] intensityVals = new byte[height][];
for (
int i=0i<heighti++)
      
intensityVals[i] = new byte[width]; 
isn't there a better or shorter way?