Picture Information

J

jp2msft

Pictures taken with modern cameras often include additional information in
them that shows up either in the status bar or in a tooltip window whenever
the Picture is selected.

The information is:
Dimensions (width and height)
Date Picture Taken (includes the time)
Camera Model
Type (JPEG, TIFF, etc)
Size

What would I need to use to access this information using C# or VB? I want
to be able to filter Pictures based on this information.
 
J

Jeroen Mostert

jp2msft said:
Pictures taken with modern cameras often include additional information in
them that shows up either in the status bar or in a tooltip window whenever
the Picture is selected.

The information is:
Dimensions (width and height)
Date Picture Taken (includes the time)
Camera Model
Type (JPEG, TIFF, etc)
Size

What would I need to use to access this information using C# or VB? I want
to be able to filter Pictures based on this information.
http://www.justfuckinggoogleit.com/search?q="date+picture+taken"+.net
 
C

Chris Crowther MBCS

jp2msft said:
What would I need to use to access this information using C# or VB? I want
to be able to filter Pictures based on this information.

The data you're after is EXIF meta data, you can get at it via
Image.PropetyItems - although it's pretty unstructured from what I
remember; you can access the properties directly via their index number
or iterate through the collection, but that's about it.

A quick Google throws up
http://www.codeproject.com/KB/graphics/exifextractor.aspx as a wrapper
for it which lets you access things by property name. No idea how well
it works though - you can probably find some other libraries to do the
job. Or write your own, of course :)
 
J

jp2msft

EXIF Meta Data.

Thanks! Just knowing what it is called helps a lot, and the link to an
application that uses it is bonus!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top