GNOME Bugzilla – Bug 750542
Add a sepia filter
Last modified: 2015-11-21 02:39:47 UTC
This is common enough to be there in the built-in set of operations. There are a lot of implementations floating around on the Internet. W3C's upcoming Filter Effects spec seems to have a reasonably formal description of the algorithm: http://dev.w3.org/fxtf/filters
Created attachment 304752 [details] [review] Add a sepia filter
commit 35b1d99716bca769889b67d8db75e9e9299a157b Author: Debarshi Ray <debarshir@gnome.org> Date: Mon Jun 8 09:24:28 2015 +0200 Add a sepia filter This implements the filer of the same name in the Filter Effects specification: http://dev.w3.org/fxtf/filters/ The document says that filter functions must operate in the sRGB color space. However, it also describes the color-interpolation-filters property, which is set to linear by default, for the filtering primitives used to implement the functions. Since sepia is a thin wrapper around the feColorMatrix primitive, we ignore what the specification says about the filter function, and expose the color-interpolation-filters property on the filter operation. https://bugzilla.gnome.org/show_bug.cgi?id=750542