private int[] getSmallSize(int width,int height){
		double ratio=(double)width/height;
		int[] result=new int[2];
		if(ratio>1){
			result[1]=80;
			result[0]=(int) Math.ceil(80*ratio);
		}
		else{
			result[0]=80;
			result[1]=(int) Math.ceil(80/ratio);
		}
		return result;
	}