Hacker News new | ask | show | jobs
by lucideer 3888 days ago
Why does everyone here seem to be assuming the primary use-case is some kind of interactive on/off filter?

Surely the common setting for this to be applied is in a web page where the author/photographer/designer has already selected a fixed filter and the visitor is just looking at it applied. A UI allowing someone to toggle or select filters on an image is the exceptional case here.

1 comments

There are better ways to accomplish this if you just want a fixed filter... such as displaying the image with the filter already applied instead of relying on user's (non-IE) browser to do it. Unless you plan to not support IE users at all, which is a rather big "don't do this" for front-end dev.

So a UI to select filters to apply in FF/Chrome as progressive enhancement seems to be the best use case I can see for this, if I can be frank.

"Better" from an infrastructural perspective maybe, for performance reasons, etc. but for many people quickly dropping in a bit of frontend magic is very often opted for in practice over more performant server-side setups.

As for not supporting IE users at all, it's a filter - you don't lose image display.