protected function _getSizeFitted( $srcWidth, $srcHeight, $destWidth, $destHeight )
	{
		$destWidth = ( $destWidth === null ? $srcWidth : $destWidth );
		$destHeight = ( $destHeight === null ? $srcHeight : $destHeight );

		$wRatio = $srcWidth / $destWidth;
		$hRatio = $srcHeight / $destHeight;

		if( $wRatio > $hRatio ) {
			$destHeight = round( $srcHeight / $wRatio );
		} else {
			$destWidth = round( $srcWidth / $hRatio );
		}

		return array( $destWidth, $destHeight );
	}