PEAR Image_IPTC Package

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frieder Zschiesche

    PEAR Image_IPTC Package

    The PEAR Image_IPTC package doesn't seem to work for me. I'm trying to
    access the IPTC data with the following php file:

    ------------------------------------------------------------------------
    <?php
    require './IPTC.php';
    $iptc =& new Image_IPTC('./test.jpg');
    print_r($iptc);
    print_r($iptc->getAllTags() );
    ?>
    ------------------------------------------------------------------------

    But all I get is:
    ------------------------------------------------------------------------
    Image_IPTC Object
    (
    [_sFilename] => ./test.jpg
    [_aIPTC] =>
    [_bIPTCParse] => 1
    )
    ------------------------------------------------------------------------

    Any suggestions?

    --
    Frieder Zschiesche
    fz (AT) frielance (DOT) de
Working...