private static int DetermineResultSize(int destWidth, int destHeight,
			int srcWidth, int srcHeight) {
		double scaleH, scaleV;
		scaleH = (double) destWidth / (double) srcWidth;
		scaleV = (double) destHeight / (double) srcHeight;
		if (scaleH >= 1.0 && scaleV >= 1.0) {
			return 1;
		}
		return 0;

	}