[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/media/ -> PNGMetadataExtractor.php (summary)

PNG frame counter and metadata extractor. Slightly derived from GIFMetadataExtractor.php Deliberately not using MWExceptions to avoid external dependencies, encouraging redistribution.

File Size: 427 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PNGMetadataExtractor:: (2 methods):
  getMetadata()
  read()


Class: PNGMetadataExtractor  - X-Ref

PNG frame counter.

getMetadata( $filename )   X-Ref
No description

read( $fh, $size )   X-Ref
Read a chunk, checking to make sure its not too big.

param: resource $fh The file handle
param: int $size Size in bytes.
return: string The chunk.



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1