supplierdeeply

CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI

  • 141 Replies
  • 20164 Views
Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #20 on: 02 / May / 2014, 12:58:40 »
Advertisements
However,

while doing some manipulations with camera (alt mode, menu configuration) I got message `'Change battery pack and camera closes down. But the battery is not empty as I can put camera on and get 74% power on battery?

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #21 on: 02 / May / 2014, 14:01:49 »
while doing some manipulations with camera (alt mode, menu configuration) I got message `'Change battery pack and camera closes down. But the battery is not empty as I can put camera on and get 74% power on battery?
Where did you see 74%?   If it's the CHDK OSD display,  that may need to be calibrated for your camera.  It's just based on the min & max voltage values in the OSD Battery show settings menu.  The Canon firmware uses its own internal settings ... your battery was very likely exhausted despite what the CHDK OSD showed.

Also,  current draw will affect reported battery voltage somewhat.  The camera may idle in playback happily but shut down when you try to extend the lens and shoot.
« Last Edit: 02 / May / 2014, 14:03:47 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #22 on: 02 / May / 2014, 15:31:28 »
A question: when will this test version be permanent? Now when it boots it says it will last 9 days....

*

Offline nafraf

  • *****
  • 1303
Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #23 on: 03 / May / 2014, 09:22:57 »
A question: when will this test version be permanent? Now when it boots it says it will last 9 days....
Is everything working fine? capt_seq.c was rewritten, then I'd like to know if image overrides are working before commit the patch.


Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #24 on: 05 / May / 2014, 11:26:37 »
It seems OK. I'M using custom iso with Srt Exposure and it does apply the overrides....

*

Offline nafraf

  • *****
  • 1303
Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #25 on: 05 / May / 2014, 13:18:01 »
Patch included in Changeset 3437

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #26 on: 27 / June / 2014, 16:53:29 »
Just found this little gem in the huge CHDK wiki.
IMHO this script is the essence of CHDK overriding features and should be present by default in the Script folder.
You are starting to be the main responsable of the dust growing on my reflex camera  :)
It's a pleasure "to mod" my cheap ixus 125 with all these things.
Thank you WW and to all the CHDK guys

PS
Is it possible to make " Tv-Av-Sv-Mode" string font a bit bigger?
I've read about the "scale" parameter, but not sure about what and where add a "scale value" in your script.

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #27 on: 27 / June / 2014, 18:30:58 »
Is it possible to make " Tv-Av-Sv-Mode" string font a bit bigger?  I've read about the "scale" parameter, but not sure about what and where add a "scale value" in your script.
Not easily.  The script uses the Lua Drawings wrapper, which does not support changing the font size.

Edit :  it actually would not be too hard to extend the wrapper to support scaled fonts.  But then you would have to spend some time trying to get everything to line up properly.  I guess its a question of how important this is to you?  Also, I assume you want to scale the Tv ,Tv, and Sv setpoint values rather than the labels?
« Last Edit: 27 / June / 2014, 23:14:03 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #28 on: 28 / June / 2014, 09:02:26 »
Edit :  it actually would not be too hard to extend the wrapper to support scaled fonts.  But then you would have to spend some time trying to get everything to line up properly.  I guess its a question of how important this is to you?  Also, I assume you want to scale the Tv ,Tv, and Sv setpoint values rather than the labels?
The align problem should not be ... a problem. Already took the liberty of "hack" your script to delete those "draw_box" lines and to move up labels and values just for a personal esthetic taste  :)
About the question "how important for you" the answer is that i need glasses to read these small fonts cause my presbiopy (you know aging brain -> aging eyes). That's why i love the viewfinder of my reflex :)
Conversely i can read without problems native canon fonts on the ixus 125 display.
Labels and values bigger would be great. Values only would be enough.
« Last Edit: 28 / June / 2014, 09:12:25 by fabri22 »

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #29 on: 28 / June / 2014, 12:10:12 »
About the question "how important for you" the answer is that i need glasses to read these small fonts cause my presbiopy (you know aging brain -> aging eyes).
I assume you've also figured out that you can change the font size of the CHDK menus?

Meanwhile :

link > CHDKtest.zip

Think of this as a "work in progress".    Copy the drawings.lua file to your SD card at  A/CHDK/LUALIB/drawings.lua and CHDKtest.lua to A/CHDK/SCRIPTS/CHDKtest.lua.

There is a new @param value to let you pick the font size.  It could go larger but that starts to look silly?

I did some rudimentary adjustments for font size vs screen position.  When a I get a bit more time I'll clean it all up and update the official version of the script.  It's pretty fiddly work.

I submitted the changes to drawing.lua as a patch. Hopefully it will make it into the regular 1.3.0 autobuild file shortly.

FYI : time spent on this is time not spend on the multicam stuff   ;)
« Last Edit: 28 / June / 2014, 12:17:13 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics