Extra Colors and Transparencies for OSD Elements? - Feature Requests - CHDK Forum

Poll

Select up to 3 comments that reflect your opinions on this. (DEV for developers.)

Not needed.
4 (18.2%)
Might be nice.
5 (22.7%)
Yes, I'd like this very much!
8 (36.4%)
DEV: Impossible to implement.
0 (0%)
DEV: Possible, but I doubt it.
0 (0%)
DEV: It would take some time.
5 (22.7%)
DEV: Easy! How fast do you want it? :)
0 (0%)

Total Members Voted: 17

Extra Colors and Transparencies for OSD Elements?

  • 11 Replies
  • 7025 Views
Extra Colors and Transparencies for OSD Elements?
« on: 17 / February / 2008, 18:33:25 »
Advertisements
Deleted
« Last Edit: 22 / April / 2008, 12:19:24 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #1 on: 17 / February / 2008, 19:06:30 »
darn, i wish i had seen your thread before opening up my new thread in the general section, because you gave me the idea to do a poll too. this is offtopic but maybe you can answer this: is there a possibility of adding a poll to an existing post? i guess not.well, next time :D

other than that: i *guess* it is possible, and i would tick (well, i will tick :D) the DEV: it will take some time box. at the moment there are 16x16 different colors possible (0x00 to 0xFF). maybe one could make smaller steps in between each color. would result in a pretty disorientating "color chooser" box :)
but i'm not really that deep in sourcecode, i dont know for sure (i only know the display itself can sure as hell display more than 256 colors).
* PhyrePhoX sings the colors of the rainbow, so pretty in the sky... :D
« Last Edit: 17 / February / 2008, 19:08:04 by PhyrePhoX »

Re: Extra Colors and Transparencies for OSD Elements?
« Reply #2 on: 17 / February / 2008, 20:15:38 »
Deleted
« Last Edit: 22 / April / 2008, 12:19:46 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #3 on: 18 / February / 2008, 01:47:10 »
Palette is changeable, that's true. But, if I'm not wrong, the palette has only 16 colors, and others are just set automatically in some way as a combinations of that 16.
CHDK Developer.

*

Offline PS

  • ***
  • 157
  • A610 1.00f
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #4 on: 21 / February / 2008, 11:37:38 »
Transparent histograms would be cool!

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #5 on: 21 / February / 2008, 13:18:56 »
As Barney Fife suggested some time ago, a special collectors edion would be cool, with some design, more games,
and all that indeed useless stuff for fotography.
I like that idea, some optics (for an optical gadet) like icons could improve useability in the main-releases, too.

I think a graphical splash would be also great insead of the text version, I think the chdk logo looks much more professional.

*

Offline dzsemx

  • ****
  • 302
  • [SX40HS][A650][A630]
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #6 on: 29 / February / 2008, 08:37:14 »
just an idea... i'd like to see outlined characters on screen, like the original firmware does...
it's visible without backround in any condition...
:D of course it would be nice to have options to choose outline color

Re: Extra Colors and Transparencies for OSD Elements?
« Reply #7 on: 15 / February / 2013, 22:21:02 »
Old thread is old, but having read this one as well as
CHDK Forum » CHDK Development » Feature Requests » Palette editor
and
CHDK Forum » CHDK Development » General Discussion and Assistance » Universal color palette for CHDK
this seems to be the most appropriate spot given the title (the original post was lost in a rampage, it seems  :-X)

From my understanding, much of what was discussed in those threads was ultimately implemented in CHDK.

An optional define of CAM_LOAD_CUSTOM_COLORS in platform_camera.h for each camera lets CHDK know that the palette should be overwritten, a CHDK_COLOR_BASE define sets where the palette should be overwritten (in slots that are (assumed to be) unused), and a function load_chdk_palette() gets called to actually perform the overwriting duty, typically 13 palette slots in fairly fixed colors.  There doesn't appear to be any forum or assembla discussion of why the 13, and why the colors chosen, but obviously they're colors used by CHDK for e.g. menus and some OSD elements.

So to update the question a little bit - would it be possible to add more colors to this typical set of 13?
Specifically, I was hoping for some more subtle transparent colors for Grids.  On my camera, black with 50% transparency is as 'subtle' as it's going to get.  I realize that the answer in my specific case may very well be 'yes'; if adjusting the source myself and compiling it - which is a reasonable suggestion, but if it's at all possible that such a change could find its way into general builds, that may be interesting to others as well.

Re: Extra Colors and Transparencies for OSD Elements?
« Reply #8 on: 16 / February / 2013, 01:41:14 »
From my understanding, much of what was discussed in those threads was ultimately implemented in CHDK.
Welcome and thanks for the wikia updates over the last week or so.  Thankless tasks that many get value from! I was going to ping you about the CAM_LOAD_CUSTOM_COLORS stuff but you obviously found it for yourself.

Quote
(the original post was lost in a rampage, it seems  :-X)
Way before my time but I know what you mean.

Quote
There doesn't appear to be any forum or assembla discussion of why the 13, and why the colors chosen, but obviously they're colors used by CHDK for e.g. menus and some OSD elements.
As an all volunteer effort - and the number of competent coder volunteers are even smaller - much of what you see in CHDK is a function of what the person who took the time to implement and test wanted to do.

Quote
So to update the question a little bit - would it be possible to add more colors to this typical set of 13?
Specifically, I was hoping for some more subtle transparent colors for Grids.  On my camera, black with 50% transparency is as 'subtle' as it's going to get.  I realize that the answer in my specific case may very well be 'yes'; if adjusting the source myself and compiling it - which is a reasonable suggestion, but if it's at all possible that such a change could find its way into general builds, that may be interesting to others as well.
The people here are always pretty reasonable about accepting a good suggestion when it will help out the general user community.  And FWIW,  I think you have put forwared a good case for adding more that 13 colors.  As usual,  I'm sure others will chime in with their opinions too.  The usual questions about backward compatability will need to be pondered,  and code space vs value,  and documentation updates,  etc etc.    But I thank you for bringing this foward - makes sense to me.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Extra Colors and Transparencies for OSD Elements?
« Reply #9 on: 16 / February / 2013, 03:29:16 »
Old thread is old, but having read this one as well as
CHDK Forum » CHDK Development » Feature Requests » Palette editor
and
CHDK Forum » CHDK Development » General Discussion and Assistance » Universal color palette for CHDK
this seems to be the most appropriate spot given the title (the original post was lost in a rampage, it seems  :-X)

From my understanding, much of what was discussed in those threads was ultimately implemented in CHDK.

An optional define of CAM_LOAD_CUSTOM_COLORS in platform_camera.h for each camera lets CHDK know that the palette should be overwritten, a CHDK_COLOR_BASE define sets where the palette should be overwritten (in slots that are (assumed to be) unused), and a function load_chdk_palette() gets called to actually perform the overwriting duty, typically 13 palette slots in fairly fixed colors.  There doesn't appear to be any forum or assembla discussion of why the 13, and why the colors chosen, but obviously they're colors used by CHDK for e.g. menus and some OSD elements.

So to update the question a little bit - would it be possible to add more colors to this typical set of 13?
Specifically, I was hoping for some more subtle transparent colors for Grids.  On my camera, black with 50% transparency is as 'subtle' as it's going to get.  I realize that the answer in my specific case may very well be 'yes'; if adjusting the source myself and compiling it - which is a reasonable suggestion, but if it's at all possible that such a change could find its way into general builds, that may be interesting to others as well.

Colors in CHDK is a huge, messy, can of worms.

Very few cameras implement my CAM_LOAD_CUSTOM_COLORS solution, the rest use hard wired values that are as close to the desired colors as possible. The camera also changes the palette in different modes - so event CAM_LOAD_CUSTOM_COLORS doesn't work all the time.

Then there's the problem of finding unused (or little used) colors that CHDK can take over - the code assumes a contiguous block, rewriting to use others would be possible; but complex.

You don't say what camera you have - if it's an older one it may not support transparency levels.

Finally the colors in the grids are indexes into the camera color palette - they aren't translated by CHDK.
So you can use the palette editor in CHDK to find the colors you like then edit the grid to suit.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal