Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Picture Information

Reply
 
Old 04-10-2008   #1 (permalink)
jp2msft


 
 

Picture Information

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.



My System SpecsSystem Spec
Old 04-11-2008   #2 (permalink)
Chris Crowther MBCS


 
 

Re: Picture Information

jp2msft wrote:
Quote:

> 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/graphi...extractor.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

--
Chris Crowther MBCS
C# Developer
RHD Research Ltd
My System SpecsSystem Spec
Old 04-11-2008   #3 (permalink)
jp2msft


 
 

Re: Picture Information

EXIF Meta Data.

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

"Chris Crowther MBCS" wrote:
Quote:

> jp2msft wrote:
>
Quote:

> > 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/graphi...extractor.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
>
> --
> Chris Crowther MBCS
> C# Developer
> RHD Research Ltd
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How can I copy my picture that I created from WeeMee to My Picture Live Messenger
i can't view picture files on my picture cds Vista music pictures video
Split screen or picture in picture. Vista music pictures video
My Picture folder won't show thumbnail of my real picture Vista General
Picture icons don't show preview of picture Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46