469,592 Members | 1,713 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

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 1925
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 suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.