PDA

View Full Version : Distortion Filter



mburt
07-29-2006, 05:36 PM
Hey all.
I was wondering if the is a way to distort an image using a filter. Or, to add specks of white onto it. Thanks (i'm trying to learn more about css :))

jscheuer1
07-29-2006, 06:07 PM
Yes, but filters are IE only, and require activeX-enabled, the official explanation of their use begins here:

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/filters.asp

The filters themselves are listed here:

http://msdn.microsoft.com/workshop/author/filter/reference/reference.asp

The RandomDissolve will add speckles but it is a dynamic transition filter, though you may be able to get it appear fixed by adjusting its parameters.

There are so many filters to choose from and so many ways each may be configured, not to mentioned combined, that the exact one you use and how you use it is a matter of the exact effect that you are going for.

However, as I said, these are all IE only. An image program can add speckles. You could also create an overlay .gif that is mostly transparent that contains your speckles. This would allow you to add and remove them dynamically in any javascript-enabled browser.

mburt
07-29-2006, 06:09 PM
Thanks, I appreciate it