By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,923 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,923 IT Pros & Developers. It's quick & easy.

image meta data read

P: 12
okay, im coming along with my project fairly hassle free, however i was wondering if someone knows how i can read/ extract meta data from image files (in windows)...
for example, when u right click on an image in windows explorer and click properties, it shows u information about the image such as title, keywords, author comments, etc.
i want to display this information in my GUI
im using wxpython at the moment.

any help would be MUCH appreciated...
Aug 15 '07 #1
Share this Question
Share on Google+
6 Replies


P: 12
HELP!!! i cant continue without any help...
please guys!
Aug 16 '07 #2

ilikepython
Expert 100+
P: 844
okay, im coming along with my project fairly hassle free, however i was wondering if someone knows how i can read/ extract meta data from image files (in windows)...
for example, when u right click on an image in windows explorer and click properties, it shows u information about the image such as title, keywords, author comments, etc.
i want to display this information in my GUI
im using wxpython at the moment.

any help would be MUCH appreciated...
Check the os module's os.stat() function. That gives you a tuple of values. Using the stat module might help with reading the tuple.
Aug 16 '07 #3

P: 12
i dont understand what is meant by this? :S
Aug 21 '07 #4

ilikepython
Expert 100+
P: 844
i dont understand what is meant by this? :S
Don't understand what? It's simple, click on the links and read about os.stat. It's in 14.1.4 if that makes it easier.
Aug 21 '07 #5

P: 12
ok, this is good for getting the basic image data, but i want to extract the metadata of the image... like i said, comments, keywords, title, author etc.
Aug 22 '07 #6

bartonc
Expert 5K+
P: 6,596
okay, im coming along with my project fairly hassle free, however i was wondering if someone knows how i can read/ extract meta data from image files (in windows)...
for example, when u right click on an image in windows explorer and click properties, it shows u information about the image such as title, keywords, author comments, etc.
i want to display this information in my GUI
im using wxpython at the moment.

any help would be MUCH appreciated...
If searched wxPython help files; no luck, yet.

If you know where to find the C reference for this on the Microsoft site, I can show you how to use the ctype library module to get what you are after.
Aug 22 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.