public void setMagnify(int m) {
			for (int r = 0; r < 64; r++) {
				valid[r] = false;
				source[r] = null;
				if (image[r] != null) {
					image[r].flush();
					image[r] = null;
				}
			}
			magnify = m;
			imageData = new int[64 * magnify * magnify];
		}