| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Handler for bitmap images with exif metadata. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 245 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ExifBitmapHandler:: (8 methods):
convertMetadataVersion()
isMetadataValid()
formatMetadata()
getCommonMetaArray()
getMetadataType()
getImageSize()
getRotation()
getRotationForExif()
Class: ExifBitmapHandler - X-Ref
Stuff specific to JPEG and (built-in) TIFF handler.| convertMetadataVersion( $metadata, $version = 1 ) X-Ref |
| No description |
| isMetadataValid( $image, $metadata ) X-Ref |
param: File $image param: array $metadata return: bool|int |
| formatMetadata( $image ) X-Ref |
param: File $image return: array|bool |
| getCommonMetaArray( File $file ) X-Ref |
| No description |
| getMetadataType( $image ) X-Ref |
| No description |
| getImageSize( $image, $path ) X-Ref |
| Wrapper for base classes ImageHandler::getImageSize() that checks for rotation reported from metadata and swaps the sizes to match. param: File $image param: string $path return: array |
| getRotation( $file ) X-Ref |
| On supporting image formats, try to read out the low-level orientation of the file and return the angle that the file needs to be rotated to be viewed. This information is only useful when manipulating the original file; the width and height we normally work with is logical, and will match any produced output views. param: File $file return: int 0, 90, 180 or 270 |
| getRotationForExif( $data ) X-Ref |
| Given a chunk of serialized Exif metadata, return the orientation as degrees of rotation. param: string $data return: int 0, 90, 180 or 270 |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |