ImageProcessor duplicateImage(ImageProcessor ip) {
		int width = Math.min(ip.getWidth(), ip.getWidth());
		int height = Math.min(ip.getHeight(), ip.getHeight());
		
		ImageProcessor ipNew = ip.createProcessor(width, height);
		
		ipNew.insert(ip, 0, 0);
		
		return ipNew;
	}