lib/Type/TypeTif.php
public function setByteType($signature)
	{
		if ($signature === self::TIF_SIGNATURE_INTEL)
		{
			$this->typeLong = 'V';
			$this->typeShort = 'v';
			$this->size['type'] = IMAGETYPE_TIFF_II;
		}
		else
		{
			$this->typeLong = 'N';
			$this->typeShort = 'n';
			$this->size['type'] = IMAGETYPE_TIFF_MM;
		}
	}
public function setByteType($signature)
	{
		if ($signature === self::TIF_SIGNATURE_INTEL)
		{
			$this->typeLong = 'V';
			$this->typeShort = 'v';
			$this->size['type'] = IMAGETYPE_TIFF_II;
		}
		else
		{
			$this->typeLong = 'N';
			$this->typeShort = 'n';
			$this->size['type'] = IMAGETYPE_TIFF_MM;
		}
	}
public function setByteType ( $ signature ) { if ( $ signature === self :: TIF_SIGNATURE_INTEL ) { $ this -> typeLong = 'V' ; $ this -> typeShort = 'v' ; $ this -> size [ 'type' ] = IMAGETYPE_TIFF_II ; } else { $ this -> typeLong = 'N' ; $ this -> typeShort = 'n' ; $ this -> size [ 'type' ] = IMAGETYPE_TIFF_MM ; } }
Set byte type based on signature in header

@param string $signature Header signature
Set byte type based on signature in header