Bug 655588 Desaturating filter produces more realistic grey scale than colour averaging r=Unfocused

This commit is contained in:
Neil Rashbrook 2011-05-11 21:23:07 +01:00
parent 5a3d01a7ee
commit bd23e29f18
3 changed files with 18 additions and 27 deletions

View File

@ -1,9 +1,6 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix values="0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0 0 0 1 0"/>
</filter>
</svg>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix type="saturate" values="0"/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 156 B

View File

@ -1,9 +1,6 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix values="0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0 0 0 1 0"/>
</filter>
</svg>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix type="saturate" values="0"/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 156 B

View File

@ -1,9 +1,6 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix values="0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0.3333 0.3333 0.3333 0 0
0 0 0 1 0"/>
</filter>
</svg>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="greyscale">
<feColorMatrix type="saturate" values="0"/>
</filter>
</svg>

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 156 B