[Project_owners] Display images in greyscale?

Aron Rubin aronrubin at gmail.com
Sat Jan 20 13:17:02 PST 2007


// 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 <bg.play at gmail.com> 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
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>


More information about the Project_owners mailing list