Re: iptcparse() and iptcembed()

From: Date: Thu, 06 Jul 2000 11:12:07 +0000
Subject: Re: iptcparse() and iptcembed()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5196@lists.php.net to get a copy of this message
On Wed, Jul 05, 2000 at 10:46:06AM +0200, Pike wrote: > Hi > > I'm still having trouble reading iptcinfo from images using iptcparse(); > Has anyone ever used the (undocumented) iptcembed() function ? > Has anyone ever documented it ? :-) Be pleased to know. > > The same behaviour appeared for different files, file formats, servers and phpversions. > Where am I going wrong ? > > 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) please send me this jpeg off-list! thanx, tc > > > thanks upfront > *-pike-* > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.general (#5196) next »