| Author |
How can I read the EXIF data from a jpg file ??
|
|
| shorty 2005-08-19, 4:13 pm |
| How can I read the EXIF data from a jpg file ??
| |
| Ken Robinson 2005-08-19, 4:13 pm |
| shorty <agent@agent.com> wrote in news:n91cg11949gem6t6fljj416bl6jpl3tgna@
4ax.com:
> How can I read the EXIF data from a jpg file ??
>
Take a look at <http://www.php.net/exif>
Ken
| |
| Shawn Wilson 2005-08-19, 4:13 pm |
| "shorty" <agent@agent.com> wrote in message
news:n91cg11949gem6t6fljj416bl6jpl3tgna@
4ax.com...
> How can I read the EXIF data from a jpg file ??
If you don't have PHP5, then look here: http://www.php.net/exif
--------------
Shawn Wilson
| |
| Shawn Wilson 2005-08-19, 4:13 pm |
| "shorty" <agent@agent.com> wrote in message
news:n91cg11949gem6t6fljj416bl6jpl3tgna@
4ax.com...
> How can I read the EXIF data from a jpg file ??
Here is some sample code... it only reads the IFD0 information from the
file, but that's where a lot of it is, so that's all I use.
<?
$exif = exif_read_data('testimage.jpg', 'IFD0');
echo $exif['Model']; echo "<br>";
echo $exif['DateTime'];echo "<br>";
echo $exif['ExposureTime'];echo "<br>";
echo $exif['ISOSpeedRatings'];echo "<br>";
echo $exif['FNumber'];echo "<br>";
echo $exif['FocalLength'];echo "<br>";
?>
-----------
Shawn Wilson
|
|
|
|