Skip to content

Instantly share code, notes, and snippets.

View jorgeatgu's full-sized avatar
🔮
Es imposible no puede ser!

Jorge jorgeatgu

🔮
Es imposible no puede ser!
View GitHub Profile
svgmin: {
options: {
plugins: [
{
removeViewBox: false
}, {
removeTitle: false
}, {
removeDesc: false
}, {
<filter id="saturate" filterUnits="objectBoundingBox">
<feColorMatrix type="saturate" in="SourceGraphic" values="0.4"/>
</filter>
<filter id="matrix" filterUnits="objectBoundingBox">
<feColorMatrix type="matrix" in="SourceGraphic"
values="-1 2 -3 0 -.5
0 1 0 0 0
0 0 0 0 0
0 0 0 1 0"/>
</filter>
<filter id="matrixDos" filterUnits="objectBoundingBox">
<feColorMatrix type="matrix" in="SourceGraphic"
values="-1 2 -3 0 -.5
2 1 0 0 0
0 3 0 0 0
0 0 1 1 0"/>
</filter>
<filter id="hueRotate" filterUnits="objectBoundingBox">
<feColorMatrix type="hueRotate" in="SourceGraphic" values="180"/>
</filter>
<filter id="luminanceToAlpha" filterUnits="objectBoundingBox">
<feColorMatrix type="luminanceToAlpha" in="SourceGraphic" values="0.4"/>
</filter>
<filter id="discrete">
<feComponentTransfer>
<feFuncR type="discrete" tableValues="0 .5 1 1"/>
<feFuncG type="discrete" tableValues="0 .5 1"/>
<feFuncB type="discrete" tableValues="0 .5"/>
</feComponentTransfer>
</filter>
<filter id="discrete-dos">
<feComponentTransfer>
<feFuncR type="discrete" tableValues="0 .5 1 1"/>
<feFuncG type="discrete" tableValues="0 5 1"/>
<feFuncB type="discrete" tableValues="0 .5 1 1"/>
</feComponentTransfer>
</filter>
<filter id="table">
<feComponentTransfer>
<feFuncR type="table" tableValues="1 0 1" exponent="5"/>
<feFuncG type="table" tableValues="1 0 1" exponent="2"/>
<feFuncB type="table" tableValues="1 0 1" exponent="5"/>
</feComponentTransfer>
</filter>
<filter id="tableDos">
<feComponentTransfer>
<feFuncR type="table" tableValues="1 0 1" exponent="5"/>
<feFuncG type="table" tableValues="1 10 1" exponent="2"/>
<feFuncB type="table" tableValues="1 5 1" exponent="5"/>
</feComponentTransfer>
</filter>