473,654 Members | 3,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ProcessingSoftw are 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...y ep...raw files are over 10Mb....
"Image.FromFile (DialogoAbrir.F ileName)"

I hope someone can help me. thanx

iKER-
Feb 17 '08 #1
2 2909
On 17 fév, 13:06, iKER- <ike...@gmail.c omwrote:
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 *ProcessingSoft ware * * * * * * 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...y ep...raw files are over 10Mb....
"Image.FromFile (DialogoAbrir.F ileName)"

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.comwro te:
On 17 fév, 13:06, iKER- <ike...@gmail.c omwrote:


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 *ProcessingSoft ware * * * * * * 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...y ep...raw files are over 10Mb....
"Image.FromFile (DialogoAbrir.F ileName)"
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
2374
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 thumbnails, and works quite well execpt that on dial up it is unbearably slow. The Thumbnails themselves are only 10kb but the total of them is a lot larger. and it appears to need to load them all before it will display any.
5
1816
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 feature that I can't figure out. How do I read the extra file info from a .jpg image file (or any other file for that matter)? Each one of my pictures has 10 or 20 things included in the file like the Camera model, f-stop used, etc... and I want...
8
5462
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
2
7216
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 find anything useful on web yet. Thanks very much for any help. Vladish
5
4728
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 date stamped on the lower right part of the picture. (I'm not an advanced programmer so my code may not be 100% efficient - sorry, I'm still learning) Everything works fine until the saving part. I've been able to read the file into a...
4
1963
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 tags.) /BJ
1
4946
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 solution would be downloading the whole target file locally and then call exif_read_data() but that means a lot of overhead traffic
0
1116
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 can´t. I found this "table": Full table is there: http://owl.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html **************** Tag ID Tag Name Writable Group Values / Notes
8
5868
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 give the information i required. EXIF inout code <?php $path="image.jpeg";
0
8379
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8709
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8494
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1597
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.