Colour inversion script - LUA Scripting - CHDK Forum

Colour inversion script

  • 2 Replies
Colour inversion script
« on: 14 / April / 2021, 10:45:17 »
        Is there a way of writing a colour inversion script for my SX240. From a photographic editing perspective, it involves moving the two x,y points on the image histogram ....... (0,0 to 0,100) and  (100,100 to 100,0). Can this be done with a script? I know 'nothing' about script writing. This would only have to be a visual change, so that I could see what the image looks like with colours inverted.
.... john
« Last Edit: 14 / April / 2021, 10:48:25 by shinnen »


Offline reyalp

  • ******
  • 14084
Re: Colour inversion script
« Reply #1 on: 14 / April / 2021, 13:42:15 »
If you mean inverting the live view, no, script (or even CHDK C code, for that matter) can't do real time image processing like that.

It's possible that whatever does the "my colors" effects could be programmed to do that, but AFAIK no one has reverse engineered it.
Don't forget what the H stands for.

Re: Colour inversion script
« Reply #2 on: 15 / April / 2021, 09:29:37 »
Hi again,
         OK. I thought it might be something simple, since it's so easy to do on my photo editor, but I really have no idea.
       Thanks again.
..... john


Related Topics