Camera Hacker

:

Add Comment | Related Links | TrackBack
Related Content

How to convert APEX av value to predefined SDK Av values?

Hi everyone,

if I take a photo in cdSHOOTING_MODE_PROGRAM mode I can retrieve av value from this photo (calling CDGetImageItemProperty() with dIMG_PROP_AV parameter). Aperture value I receive is in APEX unit (Additive system of Photographic Exposure).
What I need to do is set av value calling CDSetAvValue() and then take a photo in cdSHOOTING_MODE_MANUAL.
The problem is that av value in APEX unit is float (i.e 2.75) and values that CDSetAvValue() gets are like that:
/* 1/3 stop */
#define cdREMOTE_SET_AV3_10 (0x0008)
#define cdREMOTE_SET_AV3_11 (0x000b)
#define cdREMOTE_SET_AV3_12 (0x000d)
#define cdREMOTE_SET_AV3_14 (0x0010)
#define cdREMOTE_SET_AV3_16 (0x0013)
#define cdREMOTE_SET_AV3_18 (0x0015)
#define cdREMOTE_SET_AV3_20 (0x0018)
#define cdREMOTE_SET_AV3_22 (0x001b)
#define cdREMOTE_SET_AV3_25 (0x001d)

How to convert from APEX to SDK ?

regards Marcin

Marcin
Mon, 15 Oct 2007 17:25:25 +0000

I figured it out thanks All about EXIF Data and JEITA CP-3451 - Exchangeable image file format for digital still cameras: Exif Version 2.2

cheers

Marcin
Tue, 16 Oct 2007 12:37:13 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 7 + 3?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.