protected function _autoRotate($imageFile, $format) {
		$orientation = ImagineUtility::getImageOrientation($imageFile);
		$degree = 0;
		if ($orientation === false) {
			return false;
		}
		if ($orientation === 0) {
			return true;
		}
		switch ($orientation) {
			case 180:
				$degree = -180;
				break;
			case -90:
				$degree = 90;
				break;
			case 90:
				$degree = -90;
				break;
		}
		$processor = new ImageProcessor();
		$image = $processor->open($imageFile);
		$processor->rotate($image, ['degree' => $degree]);
		$image->save(['format' => $format]);

		return true;
	}