Re: [PHP4BETA] cvs: php4 /ext/exif/ .cvsignore Makefile.in config.m4 exif.c php_exif.h

From: Date: Wed, 24 May 2000 14:55:58 +0000
Subject: Re: [PHP4BETA] cvs: php4 /ext/exif/ .cvsignore Makefile.in config.m4 exif.c php_exif.h
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15671@lists.php.net to get a copy of this message
> the JPEG header code is is already in getimagesize and > iptcembed... But there is a huge difference between IPTC and EXIF. IPTC is basically just file info annotations supported by Photoshop and probably some other image manipulation programs. EXIF is the digital camera annotation format which consists of hundreds of special tags used by various camera manufacturers to store information about the picture. I realize there is some overlap, but it seems easier to separate iptc and exif instead of trying to do everything at once. Here is what I get back for a file that came out of my digital camera: Exif header 20176 bytes long Exif section in Intel order Directory with 8 entries Make = "Eastman Kodak Company" Model = "KODAK DC265 ZOOM DIGITAL CAMERA (V01.00)" Orientation = 1 XResolution = 150/1 YResolution = 150/1 ResolutionUnit = 2 YCbCrPositioning = 1 ExifOffset = 190 Directory with 19 entries ExposureTime = 1/250 FNumber = 951/100 ExifVersion = "0200" DateTimeOriginal = "1999:02:07 09:01:41" ComponentsConfiguration = "" CompressedBitsPerPixel = 24/10 ShutterSpeedValue = 800/100 ApertureValue = 650/100 ExposureBiasValue = 0/100 MaxApertureValue = 300/100 SubjectDistance = 588/100 MeteringMode = 2 LightSource = 0 FocalLength = 240000/10000 MakerNote = "Eastman Kodak CompanyKODAK DC265 ZOOM DIGITAL CAMERA'q7JPEGAYNL,4&" FlashPixVersion = "0100" ColorSpace = 1 ExifImageWidth = 1536 ExifImageLength = 1024 Thunbnail size of Exif header: 18628 JPEG image is 1536w * 1024h, 3 color components, 8 bits per sample JPEG process: Baseline File name : p0001620.jpg File size : 449634 bytes File date : 1999:02:07 08:01:40 Camera make : Eastman Kodak Company Camera model : KODAK DC265 ZOOM DIGITAL CAMERA (V01.00) Date/Time : 1999:02:07 09:01:41 Resolution : 1536 x 1024 Flash used : No Focal length : 24.0mm Exposure time: 0.004 s (1/250) Aperture : f/ 9.5 Focus Dist. : 5.88m

« previous php.version4 (#15671) next »