Picture Information

Picture Information

am 10.04.2008 22:50:02 von 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.

Re: Picture Information

am 10.04.2008 23:04:58 von Jeroen Mostert

jp2msft wrote:
> 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=%22date+picture+ taken%22+.net

--
J.

Re: Picture Information

am 11.04.2008 11:18:45 von Chris Crowther

jp2msft wrote:

> 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 :)

--
Chris Crowther MBCS
C# Developer
RHD Research Ltd

Re: Picture Information

am 11.04.2008 14:47:02 von 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!

"Chris Crowther MBCS" wrote:

> jp2msft wrote:
>
> > 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 :)
>
> --
> Chris Crowther MBCS
> C# Developer
> RHD Research Ltd
>