Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 14th, 2004, 01:46 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default Programmatic Access to JPG File Properties

Hi there,

I am trying to find a way to access embedded information from a JPG file. I am examining images taken from a digital camera, and need to access the date the picture was taken.

I know this is somehow possible, because Windows Server 2003 is capable of showing a column with "Date Picture Taken".

This date is different from the NTFS / FAT property DateCreated / Last Modified. If I open the JPG image in Notepad for example, I can see the date, and the camera model for example. Apparently, you can store additional information in a JPG file.

Suggestions on how to access this data are more than welcome. It doesn't necessarily have to be a .NET solution. Other technologies are OK too.

Cheers and thanks in advance.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
  #2 (permalink)  
Old January 14th, 2004, 02:18 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I have been looking for this myself. Well, I have been wondering how to do it for the photo album app I've been working on. Here's one thing I found...

http://www.spaz.com/rtw/test/testExif2.asp

Googling with "metadata" seemed to help with positive hits.

-Pipok ;)
Reply With Quote
  #3 (permalink)  
Old January 14th, 2004, 02:59 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Cool, thanks for this, Peter. I think the metadata did the trick. I had been searching for "properties, programmatic access" and terms like that.

It looks like this is exactly what I need. Maybe I'll try to convert it to VB / .NET, may be not (it's quite a lot of code).

Meow meow.... ;)


Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #4 (permalink)  
Old January 14th, 2004, 03:16 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If you don't feel like converting it right away, give me some time. I'm planning on converting it into some nice little .net classes. I already have some ideas percolating in my little brain.

(I got "metadata" from ACDSee. Of course, their use of that term is incorrect, but I thought it might result in a useful search.)

-p
Reply With Quote
  #5 (permalink)  
Old January 14th, 2004, 03:44 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You may have already checked it out, but the ASP solution you pointed me to is partly based on another Open Source Exif reader, written in VB 6: http://sourceforge.net/projects/exifclass/

I tested it briefly and it works pretty good.

Please let me know if and when you have a .NET version, or need some help.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XNA doesn't detect .jpg file? jpbaugh BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 1 September 9th, 2008 09:15 AM
How to access .mp3 File properties in V.B 6.0 shehryar Beginning VB 6 0 January 30th, 2008 08:18 AM
How to display .tif file, .pdf file and .jpg file phuong171 ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2007 07:29 AM
Take Snapshot into JPG file r_s_pathak Visual C++ 0 January 27th, 2005 03:20 AM
Programmatic access to Visual Basic Project is not aspadda Excel VBA 2 March 19th, 2004 04:06 PM



All times are GMT -4. The time now is 02:50 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.