public boolean equals(Frame other) {
		if (other.getWidth() != getWidth() ||
				other.getHeight() != getHeight()) {
			return false;
		}
		for (int y=0; y<getHeight(); y++) {
			for (int x=0; x<getWidth(); x++) {
				if (!(getPixel(x,y).equals(other.getPixel(x,y)))) {
					return false;
				}
			}
		}
		return true;
	}