Method |
Description |
|
getImage ( EPub $book, string $imageSource ) : array | boolean |
Get an image from a file or url, return it resized if the image exceeds the $maxImageWidth or $maxImageHeight directives. |
|
getImageFileTypeFromBinary ( object $binary ) : string |
get mime type from image data |
|
getImageScale ( $width, $height, $maxImageWidth, $maxImageHeight ) : float |
Scale image dimensions if they exceed the max image constraints. |
|
handleSVGAttribs ( SimpleXMLElement $svg ) : array |
|
|
isAnimatedGifResizeInstalled ( ) : boolean |
|
|
isExifInstalled ( ) : mixed |
|
|
isGdInstalled ( ) : mixed |
|
|
scaleSVGUnit ( $length, integer $portSize = 512 ) : float |
Copyright WikiMedia:
https://doc.wikimedia.org/mediawiki-core/master/php/SVGMetadataExtractor_8php_source.html |
|
splitCSV ( $attr, string $sep = ',' ) : array |
|
|