Debug.output("PPMFormatter: after data, size is " + dos.size());
} else {
dos.writeBytes(rawbitsMagicNumber);
dos.writeBytes(" " + width);
dos.writeBytes(" " + height);
dos.writeBytes(" " + MAX_COLOR_VALUE + "\n");
for (i = 0; i < data.length; i++) {
pixel = data[i];
dos.writeByte(pixel >>> 16);
dos.writeByte(pixel >>> 8);