Re: Working with EXIF-data of a JPEG

From: Date: Tue, 25 Nov 2003 21:52:29 +0000
Subject: Re: Working with EXIF-data of a JPEG
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-23879@lists.php.net to get a copy of this message
On 25 Nov 2003 at 22:47, Stefan Neufeind wrote: > On 25 Nov 2003 at 21:02, David Grant wrote: > > > Hi Stefan, > > > > On Tue, 2003-11-25 at 20:22, Stefan Neufeind wrote: > > > I've received a JPEG with EXIF-data in it - especially containing > > > the x/yResolution in DPI. Now I modify that jpeg using GD and > > > write it back to a new JPEG. But the EXIF-data gets lost in this > > > step, sure. No the new JPEG doesn't contain any dpi-information. > > > > > > Is there any pear-package (maybe) "in the works" that might also > > > be able to write EXIF-data? Or any other solution you could > > > propose? > > > > Is this[1] or more specifically, this[2], what you're after? > > > > 1. http://www.zonageek.com/software/php/jpeg/index.php > > 2. > > http://www.zonageek.com/software/files/php/JPEG.php-0.1.txt > > Excellent. You made my day :-) That was damn quick man ... > > Any way to get these functions integrated into PEAR somehow? Maybe > into Image_Tools ... hmm - or where else might it fit best? One comment to myself *g*: Maybe it should go under Image_Jpeg or File_Jpeg ... but then it should provide more functions to access Jpeg-files. Another way might be to write a package Image_Exif since the IPTC-functions are already handled by Image_IPTC. Regards, Stefan

« previous php.pear.dev (#23879) next »