// luminosity value from color components
function rgb2lum( r, g, b ) {
  return( (0.299/255.0)*r + (0.587/255.0)*g + (0.114/255.0)*b );
}

On 1/19/07, Balaganesh Damodaran <[EMAIL PROTECTED]> wrote:
> Hi guys,
>     I need to force firefox into displaying any image on any page in
> greyscale. Is there any way to do this???
> Regards,
> bg
>
> --
> Give a geek some time, a computer and some caffeine and nothing is impossible
>
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to