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

[email protected]
Newsgroups php.version4
Message-ID <[email protected]>
On Wed, May 24, 2000 at 07:55:58AM -0700, Rasmus Lerdorf wrote:
> >     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.

    i agree - just noted that we already have 2 jpeg-header
    reader in php.

> 
> 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
> 

-- 

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.