public void setHeigth(int height) {
		if(rotation == 0 || rotation == 180){
			if(zoom == 1){
				this.height = (int) (height/zoom);
			}else{
				this.height = (int) (height/zoom)+1;
			}
		}else{
			if(zoom == 1){
				this.width = (int) (height/zoom);
			}else{
				this.width = (int) (height/zoom)+1;
			}
		}
	}