473,582 Members | 3,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

image meta data read

12 New Member
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 2144
bushticals
12 New Member
HELP!!! i cant continue without any help...
please guys!
Aug 16 '07 #2
ilikepython
844 Recognized Expert Contributor
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
bushticals
12 New Member
i dont understand what is meant by this? :S
Aug 21 '07 #4
ilikepython
844 Recognized Expert Contributor
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
bushticals
12 New Member
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 Recognized Expert Expert
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

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

Similar topics

17
10000
by: PyPK | last post by:
Hi I am looking for a simple tiff Image reader/writer in python.Can anyone point me to the right one.
4
16198
by: Kenny | last post by:
I have been trying to write a script that will increase the size of and image when you mouse over it, and decrease it to original size, when you mouse out. After a couple of attempts, this is what I've come up with. In this example, there are 5 images (0 thru 4) all with a height of 80px. When you mouse over an image, it changes the...
6
9892
by: MurrayTh | last post by:
Is there any way to determine the dimensions of an image using the image's URL? ie load image based on URL, and then get dimensions? or perhaps better method?
13
2341
by: Neo Geshel | last post by:
I have examined about 80+ different upload scripts on the 'net, both in VB and C#, and none seem to do what I need them to do. Perhaps someone here can point me somewhere that Google hasn't reached yet (I have gone all the way to page 50 on Google's results!!). Here are my requirements: • I have a DataGrid. Everything will be done from...
4
2739
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. It should put a blue and yellow box on the page with "This is a test" as part of the picture. But what I get is a broken Gif. The other problem is...
6
11838
by: Lorenzo Thurman | last post by:
Does anyone know how to validate a particular image type using PHP? If I have a file and I want to ensure that it is a jpeg, how would go about it? A sort of is_jpeg or is_gif is what I'm seeking. TIA
2
5948
by: prakharv | last post by:
Hi All, Below is the code which I am using to upload a jpeg file to the server. But the problem I am facing is that it is not copying the entire contents of the image file to the webserver and it doesn't works on IE. Please, help me out as I am new to this and would be highly thankful if anyone has running code for uploading image files to the...
0
1707
by: Iain | last post by:
Hi I am using Borland Developer 2006, C# web application. Fairly new to the .net platform and very new to repeaters. I have 2 repeaters on a page, both of which are filled from a database. The Links in the left hand column are created correctly and displayed. The images/Links (hrefs) in the right hand column are the problem. The links...
3
2455
by: pozze | last post by:
Hi, I've just made the change from ASP to .net. I have a file (code below) that saves a user submitted file to a MS SQL 2005 database. It collects the file name, file size, file type, and lastly the binary data for the file. I can sucessfully take the files out of the databse again and display them in a data grid. I would like to resize the...
0
7809
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7920
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6569
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.