ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
getID3() by James Heinrich info@ // geti d3.or gMore...
Public Member Functions | |
isValid () | |
Returns the status of XMP parsing during instantiation. More... | |
getAllTags () | |
Get a copy of all XMP tags extracted from the image. More... | |
_get_jpeg_header_data ($filename) | |
Reads all the JPEG header segments from an JPEG image file into an array. More... | |
_get_XMP_text ($filename) | |
Retrieves XMP information from an APP1 JPEG segment and returns the raw XML text as a string. More... | |
read_XMP_array_from_text ($xmltext) | |
Parses a string containing XMP data (XML), and returns an array which contains all the XMP (XML) information. More... | |
__construct ($sFilename) | |
Constructor. More... | |
Data Fields | |
$_sFilename = null | |
$_aXMP = array() | |
$_bXMPParse = false | |
getID3() by James Heinrich info@ // geti d3.or g
Definition at line 34 of file module.tag.xmp.php.
Image_XMP::__construct | ( | $sFilename | ) |
Constructor.
string | - Name of the image file to access and extract XMP information from. |
Definition at line 402 of file module.tag.xmp.php.
References _get_XMP_text(), and read_XMP_array_from_text().
Image_XMP::_get_jpeg_header_data | ( | $filename | ) |
Reads all the JPEG header segments from an JPEG image file into an array.
string | $filename | - the filename of the JPEG file to read |
Definition at line 87 of file module.tag.xmp.php.
References $data, $filename, and $GLOBALS.
Referenced by _get_XMP_text().
Image_XMP::_get_XMP_text | ( | $filename | ) |
Retrieves XMP information from an APP1 JPEG segment and returns the raw XML text as a string.
string | $filename | - the filename of the JPEG file to read |
Definition at line 197 of file module.tag.xmp.php.
References $filename, $i, and _get_jpeg_header_data().
Referenced by __construct().
Image_XMP::getAllTags | ( | ) |
Get a copy of all XMP tags extracted from the image.
Definition at line 75 of file module.tag.xmp.php.
References $_aXMP.
Image_XMP::isValid | ( | ) |
Returns the status of XMP parsing during instantiation.
You'll normally want to call this method before trying to get XMP fields.
Definition at line 65 of file module.tag.xmp.php.
References $_bXMPParse.
Image_XMP::read_XMP_array_from_text | ( | $xmltext | ) |
Parses a string containing XMP data (XML), and returns an array which contains all the XMP (XML) information.
string | $xml_text | - a string containing the XMP data (XML) to be parsed |
Definition at line 230 of file module.tag.xmp.php.
References $key, $tags, and $values.
Referenced by __construct().
Image_XMP::$_aXMP = array() |
Definition at line 48 of file module.tag.xmp.php.
Referenced by getAllTags().
Image_XMP::$_bXMPParse = false |
Definition at line 55 of file module.tag.xmp.php.
Referenced by isValid().
Image_XMP::$_sFilename = null |
Definition at line 41 of file module.tag.xmp.php.