Re: read_exif_data()

From: Date: Fri, 30 Jun 2000 13:18:38 +0000
Subject: Re: read_exif_data()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4016@lists.php.net to get a copy of this message
Thanks a million! Are there any plans to be able to "re-write" the exif data? 1. take pictures 2. catalog pictures in the php photo gallery (sql) 3. edit pictures, re-upload 4. re-insert the exif data if it is gone. (most image editing software destroys the exif data) -- Jerry On Thu, 29 Jun 2000, Rasmus Lerdorf wrote: > On Thu, 29 Jun 2000, Jerry Allen wrote: > > > Pardon my ignorance... > > > > What is the correct usage for read_exif_data() or > > where can I find the docs for this new feature... > > No real docs yet. But it is super-simple. > > $info = read_exif_data("file.jpg"); > > Then you have an associative array with whatever exif fields the exif > function was able to grab. Walk through it using: > > while(list($k,$v)=each($info)) { > echo "$k: $v<br>\n"; > } > > This will of course only work if you compiled PHP using --enable-exif > > -Rasmus > > > -- > 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 > >

« previous php.general (#4016) next »