supplierdeeply

propset value for custom WB

  • 1 Replies
  • 1375 Views
propset value for custom WB
« on: 19 / July / 2016, 21:42:25 »
Advertisements
Hi,
I was looking for the custom WB propset, it was easy to find.

First, this is how to look for it:

1 Load firmware as usual
Play, menu, load firmware

2 Go to shooting mode, if you want to investigate changes there
Shooting mode (press shoot)

3 You have to turn off the help screen, so you can see the debug display
Note: this is what I mean by the help menu, it looks like this:
------
<ALT> Shortcuts          MENU=CHDK Menu
SET=Script Menu, SHUTTER=Run Script
--------
Enter CHDK
press ALT
MENU
CHDK Settings->MENU Settings
Show <ALT> Help Screen (press SET here to deselect)

4 Set up the debug shortcut
Misc->Debug
ALT +- Debug action: CmpProp
MENU
ALT

5 Make your changes
change custom WB in normal Canon menus

6 View the changed propsets
ALT
ERASE (think this was what is meant by +/- key, on SX50)
Something in yellow appears

This is what I found, for SX50 (propset 5),
274 signed byte, value of horizontal B/A axis for custom WB modifier
       1=A1 setting, 255=B1
275 signed byte, value of vertical G/M axis
       1=G1, 255=M1

---------
Question, how to read/set this in lua script?
Also, how can I read the RGB gain values, which appear as a tag in .cr2 files?
« Last Edit: 19 / July / 2016, 21:48:47 by jmac698 »

*

Offline reyalp

  • ******
  • 11436
Re: propset value for custom WB
« Reply #1 on: 20 / July / 2016, 00:20:56 »
---------
Question, how to read/set this in lua script?
You can read it using get_prop_str and the binstr module: http://chdk.wikia.com/wiki/Lua/Lua_Reference#get_prop_str_.2F_set_prop_str_.2F_binstr

Unfortunately, setting it does not appear to affect the actual used WB values.  See this thread https://chdk.setepontos.com/index.php?topic=12208.0
Quote
Also, how can I read the RGB gain values, which appear as a tag in .cr2 files?
No idea about this one.
Don't forget what the H stands for.

 

Related Topics