in reply to Perl/Tk - query about rdg values of a colour

Hi,
is using the int/sqrt function is the correct thing to do to get the quoted range?

I'd rather divide by 256 . Otherwise you will get a non linear mapping.


Cheers, Christoph
  • Comment on Re: Perl/Tk - query about rdg values of a colour