Closed Thread Icon

Topic awaiting preservation: read, add, edit, remove jpeg meta data (or EXIF) using PHP? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=22940" title="Pages that link to Topic awaiting preservation: read, add, edit, remove jpeg meta data (or EXIF) using PHP? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: read, add, edit, remove jpeg meta data (or EXIF) using PHP? <span class="small">(Page 1 of 1)</span>\

 
smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 08-15-2004 12:34

Hi,

I am well aware as I'm sure you all are that jpeg images can contain meta data, EXIF being a good example. But what is the quickest cleanest way to access this functionality with PHP?

My intended use is to store author and copyright information in jpeg, as well as any other details that may be important.

Thanks guys,

Jon

SCRWD//MULTIMEDIA PORTAL

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 08-15-2004 19:05

I guess the cleanest way would be to look up the specification, then use that info accordingly...

the quickest way would be to use google to try to find a jpeg library that already did that...

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 08-15-2004 19:17

You could also have a look at PEAR to see if such a library already exist in PHP. I just found Image_IPTC, a package to handle IPTC datas. At worst, you'll have to do your own library

Hope that helps.

InI
Maniac (V) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-15-2004 23:25

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 08-15-2004 23:35

pel (PHP EXIF Lib)



.:[ Never resist a perfect moment ]:.

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 08-16-2004 12:03

http://uk.php.net/manual/en/ref.exif.php - from php.net, requires exif to be enabled
http://www.ozhiker.com/electronics/pjmt/index.html - another meta data library, looks good, not just for php5

Ok so I found some stuff out, I'm still not sure what is the best solution tho are the best way to implement it.

There seems to be loads of stuff that can be stored in jpeg meta data (from looking at examples), essentially I would like to only make use of title, location, and copyright, but this is stored in many formats - photoshop has it's own rdf format or something, which is seperate from exif but kinda in it - it's all weird.

Thanks guys.

SCRWD//MULTIMEDIA PORTAL

« BackwardsOnwards »

Show Forum Drop Down Menu