Custom Colors : standardizing a semi-transparent grey - page 6 - General Discussion and Assistance - CHDK Forum

Custom Colors : standardizing a semi-transparent grey

  • 106 Replies
  • 37936 Views
*

Offline ADamb

  • **
  • 65
  • sx200is
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #50 on: 26 / October / 2014, 14:34:45 »
Advertisements
Maybe someone with a Sx200 can test this.
I would prefer previous gray (or 0x0090000 as others), it was more like Canon osd color.
0x2190000 is too dark.
SX200 IS-100C

Re: Custom Colors : standardizing a semi-transparent grey
« Reply #51 on: 26 / October / 2014, 14:42:48 »
The palette rework may have bad impact on some ports, an example is ixus870_sd880 (CHDK 1.3 vs 1.2):
The ixus870 defaults to palette 1 but I don't think that's the problem.  It's more likely the changes to remove

Code: [Select]
#define SCREEN_COLOR 0xF7are the issue.
« Last Edit: 26 / October / 2014, 14:45:30 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #52 on: 26 / October / 2014, 14:47:33 »
The palette rework may have bad impact on some ports, an example is ixus870_sd880 (CHDK 1.3 vs 1.2):



Not all ports' palette is carefully chosen. As it turns out, none of the existing palettes is really suitable for this camera. Should I introduce a new one...? (Note that custom palette is not possible on this camera as it has "legacy" graphics despite being a DIGIC 4 model.)

What do the record and playback palettes, and the color test pages look like?

The edge overlay default color is red, so the 1.2 image looks like this has been adjusted to yellow.

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)

*

Offline srsa_4c

  • ******
  • 4451
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #53 on: 26 / October / 2014, 15:09:38 »
What do the record and playback palettes, and the color test pages look like?

The edge overlay default color is red, so the 1.2 image looks like this has been adjusted to yellow.
The playback and rec mode palettes are the same:





All screenshots show the defaults.

edit: I should add that the LCD isn't working on my camera, I assume the colors look somewhat different on that.
« Last Edit: 26 / October / 2014, 15:46:00 by srsa_4c »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #54 on: 26 / October / 2014, 15:59:06 »
What do the record and playback palettes, and the color test pages look like?

The edge overlay default color is red, so the 1.2 image looks like this has been adjusted to yellow.
The playback and rec mode palettes are the same:





All screenshots show the defaults.

Not very accurate colors then :)

The bad blue and yellow are throwing off the menu cursor colors. The rest of the UI should be ok I think.

I'll set the default cursor colors for palette 1 to white on red to get around this for now.

If you want to add a custom palette entry in palette.h, you can use # 3 which is free now.
From the screenshots it should be possible to get better colors.

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)

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #55 on: 26 / October / 2014, 16:38:32 »
edit: I should add that the LCD isn't working on my camera, I assume the colors look somewhat different on that.

The chdkptp colors should be reasonably close to the camera colors.

Here's a quick palette I did from your screen shots.

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)

Re: Custom Colors : standardizing a semi-transparent grey
« Reply #56 on: 26 / October / 2014, 17:57:22 »
edit: I should add that the LCD isn't working on my camera, I assume the colors look somewhat different on that.
The chdkptp colors should be reasonably close to the camera colors.
The camera was using palette 1 - the default palette. 

A little grepping tells me that there are 69 cameras (out  of approx 128) that define CAM_BITMAP_PALETTE in their platform_camera.h file.   Which leaves 59 cameras using the default palette - mostly the older ones I expect.

I think that the only change that should affect palette 1 camera with the latest  updates is removing the #define SCREEN_COLOR 0xF7 definition ?

Was that enough to cause srsa_4c's concerns?   Is it going to negatively affect any of the other 58 cameras?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #57 on: 26 / October / 2014, 18:05:44 »
The chdkptp colors should be reasonably close to the camera colors.

Here's a quick palette I did from your screen shots.
Thanks. I have corrected some of the color definitions and added one. The bad news is that rec and play palettes are only equal when the CHDK style mode change was used. I get a different palette in rec mode when watching the tv-out signal. I'm giving up here, perhaps koshy will notice the discussion and help out (he has an ixus870 I think).

@WW
I think we should ask koshy for help...

edit:
OK, I'm an idiot. Support (palette, frame buffer) routines are missing on the cam.
« Last Edit: 26 / October / 2014, 18:11:27 by srsa_4c »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Custom Colors : standardizing a semi-transparent grey
« Reply #58 on: 26 / October / 2014, 18:08:08 »
I think that the only change that should affect palette 1 camera with the latest  updates is removing the #define SCREEN_COLOR 0xF7 definition ?

Was that enough to cause srsa_4c's concerns?   Is it going to negatively affect any of the other 58 cameras?

I think it was the COLOR_SELECTED_FG and COLOR_SELECTED_BG change which alters the default cursor colors.
I've added a temporary fix to use white on red for palette 1 as the default cursor.

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)

Re: Custom Colors : standardizing a semi-transparent grey
« Reply #59 on: 26 / October / 2014, 18:08:49 »
@WW
I think we should ask koshy for help...
Good idea.  Just checked my a560 (museum piece) and the menu has somewhat degraded.  It's now a black & white (no red title bar text) and the menu cursor is light grey on dark grey.   Background is semitransparent too but it may have been that way before.

think it was the COLOR_SELECTED_FG and COLOR_SELECTED_BG change which alters the default cursor colors.
I've added a temporary fix to use white on red for palette 1 as the default cursor.
I'll rebuild again but I think I got that one and it didn't do as expected.   My palette looks a lot like the one srsa_4c posted (tartan effect with lots of transparent entries) but it's not exactly the same.

No panic btw .. the screens on those old cameras were incredibly bad by modern standard.  You would never voluntarily use such a camera for anything serious today.
« Last Edit: 26 / October / 2014, 18:12:21 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal © 2008-2014, SimplePortal