Property | Type | Description | |
---|---|---|---|
$type | string | The type of image we've determined this is |
Method | Description | |
---|---|---|
__construct ( Stream_17b32f3_Streamable_Interface &$stream ) | ImageParser constructor. | |
parseSize ( ) : array | boolean | null | ||
parseSizeForIco ( ) : array | ||
parseType ( ) : boolean | string | Reads and returns the type of the image |
Method | Description | |
---|---|---|
parseSizeForBMP ( ) : array | ||
parseSizeForGIF ( ) : array | ||
parseSizeForJPEG ( ) : array | boolean | ||
parseSizeForPNG ( ) : array | ||
parseSizeForPSD ( ) : array | ||
parseSizeForTiff ( ) : array | boolean | ||
parseSizeForWebp ( ) : null |
Method | Description | |
---|---|---|
getByte ( ) : mixed | ||
readByte ( $string ) : mixed | ||
readInt ( $str ) : integer |
public __construct ( Stream_17b32f3_Streamable_Interface &$stream ) | ||
$stream | Stream_17b32f3_Streamable_Interface |
protected parseSizeForJPEG ( ) : array | boolean | ||
return | array | boolean |
protected parseSizeForTiff ( ) : array | boolean | ||
return | array | boolean |
protected string $type | ||
return | string |