public final void parseData(int data[][][], BufferedImage bi,
ImageContents imageContents)
{
DataBuffer buffer = bi.getRaster().getDataBuffer();
PSDHeaderInfo header = imageContents.header;
int width = header.Columns;
int height = header.Rows;
for (int y = 0; y < height; y++)
for (int x = 0; x < width; x++)