473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Help reading exif info

Hi!
I´m working in a program witch need to read Exif data from my Sony
Alpha A100 raw (arw extension) pictures. I found a table with keys for
read it, but i can´t read. I tried something, but i can´t. I found
this "table":

Full table is there: http://owl.phy.queensu.ca/~phil/exif...ames/EXIF.html

****************
Tag ID Tag Name Writable Group Values / Notes
0x0001 InteropIndex string! InteropIFD 'R03' = R03 -
DCF option
file (Adobe RGB)

'R98' = R98 - DCF basic file (sRGB)

'THM' = THM - DCF thumbnail file
0x0002 InteropVersion undef! InteropIFD
0x000b ProcessingSoftware string IFD0 (used by ACD
Systems
Digital Imaging)
0x00fe SubfileType int32u! IFD0 0 = Full-
resolution
Image

1 = Reduced-resolution image

2 = Single page of multi-page image

3 = Single page of multi-page reduced-resolution

4 = Transparency mask

5 = Transparency mask of reduced-resolution

6 = Transparency mask of multi-page image

7 = Transparency mask of reduced-resolution
*******************

The most important is to read Date data from Exif info. If someone can
write an example how to read this data... thank you!

I´ll tried with this code but i´ve go an error "out of memory" in this
instruction...yep...raw files are over 10Mb....
"Image.FromFile(DialogoAbrir.FileName)"

I hope someone can help me. thanx

iKER-
Feb 17 '08 #1
2 2897
On 17 fév, 13:06, iKER- <ike...@gmail.comwrote:
Hi!
I´m working in a program witch need to read Exif data from my Sony
Alpha A100 raw (arw extension) pictures. I found a table with keys for
read it, but i can´t read. I tried something, but i can´t. I found
this "table":

Full table is there:http://owl.phy.queensu.ca/~phil/exif...mes/EXIF..html

****************
Tag ID *Tag Name * * * * Writable * * * Group * Values /Notes
0x0001 *InteropIndex * *string! * * * * InteropIFD * * *'R03' = R03 -
DCF option
file (Adobe RGB)

'R98' = R98 - DCF basic file (sRGB)

'THM' = THM - DCF thumbnail file
0x0002 *InteropVersion *undef! * * * *InteropIFD
0x000b *ProcessingSoftware * * * * * * string * IFD0 * *(used by ACD
Systems
Digital Imaging)
0x00fe *SubfileType * * int32u! * * * * IFD0 * * * ** * *0 = Full-
resolution
Image

1 = Reduced-resolution image

2 = Single page of multi-page image

3 = Single page of multi-page reduced-resolution

4 = Transparency mask

5 = Transparency mask of reduced-resolution

6 = Transparency mask of multi-page image

7 = Transparency mask of reduced-resolution
*******************

The most important is to read Date data from Exif info. If someone can
write an example how to read this data... thank you!

I´ll tried with this code but i´ve go an error "out of memory" in this
instruction...yep...raw files are over 10Mb....
"Image.FromFile(DialogoAbrir.FileName)"

I hope someone can help me. thanx

iKER-
Try perhaps :
http://en.wikipedia.org/wiki/Exif (or tools from the site you found).
They should mention tools that would allow to read those info (either
to fit your need or just to find out what your own code should find).

For now you are loading this file as an image. I doubt this is
supported as it takes most usual formats such as jpg, bmp etc... It's
likely you'll have :
- to read the image file, basically each "tag" - a numerical value -
indicates what is the information that follows, it allows to change
more easily the file format than if all informations were at fixed
locations
- it's likely you'll have also to convert the image data itself to a
format suitable for showing the image

Depneding on what is your interest (to have the job done or to do it
by yourself) you may want to check third party tools (your hardware is
not able to export this in a suitable format ?)

--
Patrice
Feb 17 '08 #2
On Feb 17, 7:28*pm, Patrice <patrice_scr...@hotmail.comwrote:
On 17 fév, 13:06, iKER- <ike...@gmail.comwrote:


Hi!
I´m working in a program witch need to read Exif data from my Sony
Alpha A100 raw (arw extension) pictures. I found a table with keys for
read it, but i can´t read. I tried something, but i can´t. I found
this "table":
Full table is there:http://owl.phy.queensu.ca/~phil/exif...ames/EXIF.html
****************
Tag ID *Tag Name * * * * Writable * * * Group * Values/ Notes
0x0001 *InteropIndex * *string! * * * * InteropIFD * **'R03' = R03 -
DCF option
file (Adobe RGB)
'R98' = R98 - DCF basic file (sRGB)
'THM' = THM - DCF thumbnail file
0x0002 *InteropVersion *undef! * * * *InteropIFD
0x000b *ProcessingSoftware * * * * * * string * IFD0 **(used by ACD
Systems
Digital Imaging)
0x00fe *SubfileType * * int32u! * * * * IFD0 * * * * * * *0 = Full-
resolution
Image
1 = Reduced-resolution image
2 = Single page of multi-page image
3 = Single page of multi-page reduced-resolution
4 = Transparency mask
5 = Transparency mask of reduced-resolution
6 = Transparency mask of multi-page image
7 = Transparency mask of reduced-resolution
*******************
The most important is to read Date data from Exif info. If someone can
write an example how to read this data... thank you!
I´ll tried with this code but i´ve go an error "out of memory" in this
instruction...yep...raw files are over 10Mb....
"Image.FromFile(DialogoAbrir.FileName)"
I hope someone can help me. thanx
iKER-

Try perhaps :http://en.wikipedia.org/wiki/Exif(or tools from the site you found).
They should mention tools that would allow to read those info (either
to fit your need or just to find out what your own code should find).

For now you are loading this file as an image. I doubt this is
supported as it takes most usual formats such as jpg, bmp etc... It's
likely you'll have :
- to read the image file, basically each "tag" - a numerical value -
indicates what is the information that follows, it allows to change
more easily the file format than if all informations were at fixed
locations
- it's likely you'll have also to convert the image data itself to a
format suitable for showing the image

Depneding on what is your interest (to have the job done or to do it
by yourself) you may want to check third party tools (your hardware is
not able to export this in a suitable format ?)

--
Patrice- Hide quoted text -

- Show quoted text -
Have you looked at Codeproject?
http://www.codeproject.com/KB/graphi...in_NET_30.aspx
http://www.codeproject.com/KB/graphi...extractor.aspx

just Googled.
Feb 17 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mekon | last post by:
I have never written a line of script in my life but I need some help with it now. I have this auto generated code which I want to modify if possible The script generates a strip of...
5
by: Shawn Wilson | last post by:
I am an ameture digital photographer (along with a newbie developer) and I've an album of my pictures online. I've been building this album to be just how I want it and I've come to one last...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
2
by: Vladish | last post by:
Hi all, I wonder, if anybody here has any source code or component, which can read EXIF informations from JPEG pictures. Or some good, easy to understood, description of JPEG files. I didn't...
5
by: TheGanjaMan | last post by:
Hi everyone, I'm trying to write up a simple image stamper application that stamps the Exif date information from the jpegs that I've taken from my digital camera and saves the new file with the...
4
by: Bror Johansson | last post by:
Is there somewhere some Python-module that can be used for adding EXIF-info to JPEG files? (Modules for extraction of EXIF-data are easily found, but lacks - as I see it - capacity to add new...
1
by: Alfonso Acosta | last post by:
Hi all, exif_read_data() doesn't support URLs (http://php.net/manual/en/function.exif-read-data.php ) but I would like to do that with the minimum traffic and overhead possible. A naive...
0
by: iKER- | last post by:
Hi! I´m working in a program witch need to read Exif data from my Sony Alpha A100 raw (arw extension) pictures. I found a table with keys for read it, but i can´t read. I tried something, but i...
8
by: infoseekar | last post by:
Does anyone know what's the right code to read IPTC metadata. I have the code to read EXIF metadata and it gives me alot of information which I don't need. How do I modify this code so it only...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.