472,143 Members | 1,161 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

image meta data read

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
6 2029
HELP!!! i cant continue without any help...
please guys!
Aug 16 '07 #2
ilikepython
844 Expert 512MB
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
i dont understand what is meant by this? :S
Aug 21 '07 #4
ilikepython
844 Expert 512MB
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
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
6,596 Expert 4TB
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.

Similar topics

17 posts views Thread by PyPK | last post: by
4 posts views Thread by Kenny | last post: by
6 posts views Thread by MurrayTh | last post: by
4 posts views Thread by tshad | last post: by
6 posts views Thread by Lorenzo Thurman | last post: by
reply views Thread by Iain | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.