Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 14th, 2004, 01:46 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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!
 
Old January 14th, 2004, 02:18 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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 ;)
 
Old January 14th, 2004, 02:59 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.
 
Old January 14th, 2004, 03:16 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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
 
Old January 14th, 2004, 03:44 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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.





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.