Code

New Film Gran Image effect
authorivanlouette57 <ivanlouette57@users.sourceforge.net>
Sat, 18 Apr 2009 12:56:28 +0000 (12:56 +0000)
committerivanlouette57 <ivanlouette57@users.sourceforge.net>
Sat, 18 Apr 2009 12:56:28 +0000 (12:56 +0000)
share/filters/filters.svg

index bf417cb82e1e3b226740adb59780236590da2f4b..6b95f4a6d156efe5bbfb7237bd40fc9b2becf3d1 100644 (file)
 <feDisplacementMap id="feDisplacementMap3221" numOctaves="2" scale="5" yChannelSelector="G" xChannelSelector="R" result="result3" in="result1" />
 <feComposite id="feComposite2941" operator="atop" />
 </filter>
+<filter id="Filmgrain0" inkscape:label="Film Grain" inkscape:menu="Image effects" inkscape:menu-tooltip="Adds a film grain noise to images and objects">
+<feTurbulence id="feTurbulence2467" type="fractalNoise" numOctaves="3" baseFrequency="1" seed="0" result="result0" />
+<feComposite id="feComposite2479" in="result0" in2="SourceGraphic" operator="arithmetic" k1="0" k2="0.5" k3="0.5" result="result2" />
+<feComposite id="feComposite2481" in="result2" in2="result0" operator="arithmetic" k1="1" k2="1.2" k3="0" k4="0" result="result3" />
+<feBlend blend="normal" id="feBlend3740" mode="darken" result="result5" />
+<feComposite id="feComposite2449" in2="SourceGraphic" operator="in" in="result5" result="result4" />
+</filter>
 </defs>
 </svg>