public void amplifyPix(ImageFrame if1, Point p, int intensity) {
		int pixArr[] = new int[4];
		if1.getBum().getData().getPixel(p.x, p.y, pixArr);
		Color col = new Color(pixArr[0], pixArr[1], pixArr[2]);
		for(int i=0; i<intensity; i++) {
			try {
				if1.getBum().setRGB(p.x+i, p.y, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x-i, p.y, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x+i, p.y+i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x-i, p.y+i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x+i, p.y-i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x-i, p.y-i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x, p.y+i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};
			try {
				if1.getBum().setRGB(p.x, p.y-i, col.getRGB());
			} catch(ArrayIndexOutOfBoundsException e) {};

		}

	}