| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
fast-image-size base class
| Copyright: | (c) Marc Alexander <admin@m-a-styles.de> |
| File Size: | 265 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
FastImageSize:: (11 methods):
getImageSize()
getImagesizeUnknownType()
getImageSizeByExtension()
resetValues()
setImageType()
setSize()
getImage()
getReturnData()
loadAllTypes()
loadExtension()
loadType()
Class: FastImageSize - X-Ref
| getImageSize($file, $type = '') X-Ref |
| Get image dimensions of supplied image param: string $file Path to image that should be checked param: string $type Mimetype of image return: array|bool Array with image dimensions if successful, false if not |
| getImagesizeUnknownType($filename) X-Ref |
| Get dimensions of image if type is unknown param: string $filename Path to file |
| getImageSizeByExtension($file, $extension) X-Ref |
| Get image size by file extension param: string $file Path to image that should be checked param: string $extension Extension/type of image |
| resetValues() X-Ref |
| Reset values to default |
| setImageType($type) X-Ref |
| Set mime type based on supplied image param: int $type Type of image |
| setSize($size) X-Ref |
| Set size info param: array $size Array containing size info for image |
| getImage($filename, $offset, $length, $forceLength = true) X-Ref |
| Get image from specified path/source param: string $filename Path to image param: int $offset Offset at which reading of the image should start param: int $length Maximum length that should be read param: bool $forceLength True if the length needs to be the specified return: false|string Image data or false if result was empty |
| getReturnData() X-Ref |
| Get return data return: array|bool Size array if dimensions could be found, false if not |
| loadAllTypes() X-Ref |
| Load all supported types |
| loadExtension($extension) X-Ref |
| Load an image type by extension param: string $extension Extension of image |
| loadType($imageType) X-Ref |
| Load an image type param: string $imageType Mimetype |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |