[Project_owners] Display images in greyscale?

Balaganesh Damodaran bg.play at gmail.com
Sun Jan 21 10:03:48 PST 2007


Er... I'm a total dunce when it somes to javascript so i'd appreciate a 
bit more detailed explanation of what exactly im supposed to do with the 
function...
regards,
bg
Aron Rubin wrote:

>// 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
>>
>>    
>>
>_______________________________________________
>Project_owners mailing list
>Project_owners at mozdev.org
>http://mozdev.org/mailman/listinfo/project_owners
>
>  
>


-- 
Give a geek some time, a computer and some caffeine and nothing is impossible



More information about the Project_owners mailing list