public abstract class DataParser {
public final void parseData(final int[][][] data, final BufferedImage bi,
final ImageContents imageContents) {
final DataBuffer buffer = bi.getRaster().getDataBuffer();
final PsdHeaderInfo header = imageContents.header;
final int width = header.columns;
final int height = header.rows;
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {