Read_exif_data
(PHP 4)
Read_exif_data--Reads header information stored in TIFF and JPEG images
Description
Array Exif_read_data (string filename, string sections, bool arrays, bool thumbnail)
Note:the Read_exif_data () function is a alias for Exif_read_data ().
See also Exif_thumbnail ().
User contributed Notes
Read_exif_data
inq@inq.dhs.org
03-jan-2001 03:52
Each of my JPEG files is over 1 Meg, and Read_exif_data seems to read the
Whole file and it ' s very slow. So I wrote a function to read only the
Beginning of each file:
function Read_exif_data_quick ($path) {
$tmpfile = "/tmp/read_exif_data_quick.tmp_file";
$in = fopen ($path, "R");
$out = fopen ($tmpfile, "w");
Fwrite ($out, Fread ($in, 15000));
Fclose ($in);
Fclose ($out);
Return Read_exif_data ($tmpfile);
}
And so far it works for all of my jpegs (taken with my digital camera).
Garbage@sunflowerroad.com
06-jul-2001 05:33
I started drooling when I saw that PHP could read the EXIF information
Automatically for me. Then I found out this read_exif_data is not
Compiled into the standard Win32 build (think about including it please!).
To get around this I found the following program that runs from the
Command line and works really well.
It ' s actually a set of utilities that would even allow you to put EXIF data
into images.
It ' s freeware, but the license says no commercial use without written
Permission.
Http://www.users.bigpond.com/hughthomas/exif.html
Garbage@sunflowerroad.com
06-jul-2001 05:34
By the, it works under Linux or Win32
ibaldin@anr.mcnc.org
21-aug-2001 11:43
Perl Image::info module is capable of reading EXIF tags (places them into
An associative array). Can write a simple script to use the module and
It'll extract all or only required tags out of a jpeg file.
http://www.bkjia.com/PHPjc/445241.html www.bkjia.com true http://www.bkjia.com/PHPjc/445241.html techarticle Read_exif_data (PHP 4) read_exif_data--Reads header information stored in TIFF and JPEG images Description array ex If_read_data (string filename, string sections, bool arrays, b ...