private int[] getLargeSize(int width,int height){
		int[] result = new int[2];
		if(width<640&&height<640){
			result[0]=width;
			result[1]=height;
		}
		else{
			result[0]=640;
			result[1]=640;
		}
		return result;
	}