Re: iptcparse() and iptcembed()

From: Date: Thu, 06 Jul 2000 12:38:31 +0000
Subject: Re: iptcparse() and iptcembed()
Groups: php.general 
Request: Send a blank email to php-general+get-5202@lists.php.net to get a copy of this message
>Hi Y'all thanks for responding ... replying to the list I'm having problems reading iptc_info() from files it happens to all files .. tried several jpegs, as well as tiffs eo. this is one of those files: http://www.v2.nl/~pike/php/tests/iptc.jpg also tried this on two different servers, both php4, here's a test for the file mentioned above, with the code added in <XMP> http://www.v2.nl/~pike/php/tests/iptc.php as you can see, there's a lot of app13 info in the file, but it's recognized as a string, not an array any ideas ? > > > The manual examples this: > > ================== > > $size = GetImageSize("iptc.jpg",&$info); > > $iptc = iptcparse($info["APP13"]); > > var_dump($iptc); > > ================== > > > > What I get in return is > > > > - after GetImageSize("blah",&$info) > > $info["APP13"] is string(12726) "Photoshop > > 3.0.ÿÙþâ..ó§ÿÙþâ ... > > (this should, I think, have been an array, not a string) > > > > - after $test = iptcparse($info["APP13"]) > > $test is bool(false) > > (this should, I think, have been an IPTC block, which is, I think, some complex > > array)

« previous php.general (#5202) next »