[SOLVED] File Properties

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Luis Almeida
Forum Commoner
Posts: 33
Joined: Tue Apr 01, 2003 4:22 am

File Properties

Post by Luis Almeida »

Hi all,

This is probably a vary basic question but here it goes..

How can I change a file (JPG FILES) properties like:

Title, Subject, Keywords, Comments.

Thanks in advance.
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

AFAIK title, subject, keywords, comments aren't stored in a jpeg file format ... not even in EXIF. Maybe if you explain where the title, subject, keywords, comments are coming from? What script, program or OS?
User avatar
Luis Almeida
Forum Commoner
Posts: 33
Joined: Tue Apr 01, 2003 4:22 am

JPG File Inpormation

Post by Luis Almeida »

I get that information by pressing right button over the image (jpg) then select PROPRERTIES, then the Tab SUMMARY
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

I think that's part of Windows 2000 and XP. The info part the Indexing Service properities. The info is stored similar to EXIF. That's about all I can tell you.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

comment blocks and the like are data chunks defined by EXIF, you'll need to get the file format spec for EXIF data to extract and change them..
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

This might help. First is EXIF format spec and the second is MS tag numbers (I think).

http://www.media.mit.edu/pia/Research/d ... /exif.html

Property Tags in Numerical Order
User avatar
Luis Almeida
Forum Commoner
Posts: 33
Joined: Tue Apr 01, 2003 4:22 am

Thanks

Post by Luis Almeida »

Thank You All !!!
Post Reply