CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI - page 4 - Completed and Working Scripts - CHDK Forum

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

  • 141 Replies
  • 63490 Views
Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #30 on: 28 / June / 2014, 13:31:45 »
Advertisements
I assume you've also figured out that you can change the font size of the CHDK menus?
It was one of my first settings  :)
Quote
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.
W O W ! Thanks WW.
I've to move a bit the Tv block (shortest values are truncated ) and the EV level (it is in the middle),  then it will be perfect.  :) Labels don't match with large values, but who cares?
I'll try to "hack" the other gem (videxp3.lua) as you did with this script.
Quote
FYI : time spent on this is time not spend on the multicam stuff   ;)
Eternal gratitude anyway ... at any time!

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #31 on: 28 / June / 2014, 14:14:59 »
Conversely i can read without problems native canon fonts on the ixus 125 display.
Ever wonder why the Canon OSD icons and text are always easier to see than the CHDK icons (which can disappear into a light background ? 

Take a close look and you will see that the letters and icons are white with a one pixel black border.  That way they stand out regardless of the background.   Also, for text intensive stuff,  Canon tend to put the text on a semi-transparent  background.

Should be possible to copy at least some of that technique into CHDK.  Really just a question of someone having the motivation & time I expect.
« Last Edit: 28 / June / 2014, 14:16:34 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #32 on: 28 / June / 2014, 15:07:12 »
That "needle"! Too small and not centered!  >:(
I have to move it on the left side.
Learning the Lua/Drawings wiki page ... and knowing how much work is required to create those scripts  :blink:

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #33 on: 28 / June / 2014, 15:22:34 »
That "needle"! Too small and not centered!  >:(  I have to move it on the left side.
Learning the Lua/Drawings wiki page ... and knowing how much work is required to create those scripts  :blink:
I'll probably just change the @param Text Size to just @param Size,  make all the size settings variables, and initialize them from a table using the user's size selection at startup.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #34 on: 28 / June / 2014, 17:29:45 »
Well! I did it ... my way, obviously  ::)
With "Font Size" setted to large it looks like this

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #35 on: 28 / June / 2014, 18:00:27 »
Well! I did it ... my way, obviously  ::) With "Font Size" setted to large it looks like this
Nice !   I'll work on a more general version and update at some point when I get time.   I like your idea of making the "outline" boxes optional as well.  Combine that with the "color themes" and new size options and I think all the bases are covered?

Would you be interested in going up one more font size?

To tell the truth,  I've been a little disappointed by the relative lack of interest in this script.   One of the reasons I post my scripts on a box.com site is so that I can see how many times they have been downloaded.  This one is now at 237 downloads.  Which seems okay until you realize that ultimate.lua is at 1835 and kap_uav.lua is at 1124.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #36 on: 28 / June / 2014, 18:56:54 »
Nice !   I'll work on a more general version and update at some point when I get time.   I like your idea of making the "outline" boxes optional as well.  Combine that with the "color themes" and new size options and I think all the bases are covered?

Would you be interested in going up one more font size?
IMHO it's enough. Bigger fonts would overhang subjects in frame.
Quote
To tell the truth,  I've been a little disappointed by the relative lack of interest in this script.   One of the reasons I post my scripts on a box.com site is so that I can see how many times they have been downloaded.  This one is now at 237 downloads.  Which seems okay until you realize that ultimate.lua is at 1835 and kap_uav.lua is at 1124.
Time lapse is what fascinates common user.
Manual Mode (in photography) is what fascinates hobbists or advanced users. It requires more skill. This is the era of the iphone and its full auto pictures. Today "Tv, Av, ISO" are little known terms.
Don't know too much about Aerial Photography. Maybe it has a large diffusion in the States.
 ;)

BTW
I've to say that CHDKplus is a bit hidden in the huge wiki. It would deserve a greater "publicity"
« Last Edit: 28 / June / 2014, 19:05:12 by fabri22 »

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #37 on: 29 / June / 2014, 10:41:54 »
I made some minor esthetic changes in your script.
Now the Color Theme cycles among 5 colors on a transparent background (white, red, blue,yellow, black).
At least one of those would be clearly visible according to the scene
Added a sort of "shadow" to the needle.
It would be nice if you take in account these changes in your next release.
It looks like pic attached with the modded script.

Newbie question:
Would it be possible a quicker change of setpoint values with a "long key press" ?
« Last Edit: 29 / June / 2014, 10:49:50 by fabri22 »

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #38 on: 29 / June / 2014, 11:25:09 »
I made some minor esthetic changes in your script.
Now the Color Theme cycles among 5 colors on a transparent background (white, red, blue,yellow, black). At least one of those would be clearly visible according to the scene
Certainly up to you how you want to edit things for your use.  I'll be leaving the solid backgrounds in the code though.  One of the dirty little CHDK secrets is that color rendering is a function of how diligent the person who did the port was.  Many cameras do not produce the color requested by the script on the LCD so some hard coded setups that will work in almost every case (black&white basically) are necessary.

Quote
Added a sort of "shadow" to the needle.
Nice.

Quote
It would be nice if you take in account these changes in your next release.
Still a bit of work to offer three sizes so it will be a while.

Quote
Would it be possible a quicker change of setpoint values with a "long key press" ?
I assume what you are looking for here is a "key repeat" function for Tv settings when the up/down key is held?  Like anything with scripting,  it's possible but quite a bit more work than changing one or two lines of code.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKplus.lua : adding M, Tv, Av, ISO+ exposure modes with a GUI
« Reply #39 on: 29 / June / 2014, 19:29:49 »
Here you go : CHDKplus.lua v1.4 BETA

Changes include three user selectable sizes for the OSD and the addition of several new color themes (compliments of fabri22).   Remember that the DISP key lets you scroll through all the sizes & options.

It's now also possible to adjust the Y position of the OSD on the screen.  The X position should "autocenter" correctly for 360 or  480 pixel width screens.

I'll update the main download link if I don't hear about any issues.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal