Brilliant, thanks for your help On Tue, Feb 24, 2009 at 1:34 PM, <[email protected]> wrote:
> > Hi Bryn, > > Bryn Cooke <[email protected]> wrote on 02/23/2009 05:02:14 PM: > > > I have been trying to apply a drop shadow to a rectangle with a > > gradient fill and have been getting a strange banding effect. > > The banding can be reproduced using the following SVG: > > Add 'color-interpolation-filters="sRGB"' to the filter > element, and the banding will go away. > > > Strangly I get similar banding in Firefox, but not in Inkscape. So > > I'm wondering if this banding is caused by something in the SVG spec? > > The effect is caused by converting the data to linear RGB and then > back to 'gamma' sRGB. Without the CIF attribute all filter operations > are performed in linear RGB space. With 8bits for linear you get banding > in the darker colors. As to why Inkscape doesn't show this it either > skips going to linear or they perform filters with 16bit (or higher) > precision. >
