David, I'm sorry to be dim, but I've been fiddling around with feColorMatrix and feComponentTransfer for two days and I just can't understand how they work! Could you please give some tips on how to use them to reduce the palette?
Colin. --- In svg-developers@yahoogroups.com, "David Dailey" <ddailey@...> wrote: > > I would concentrate on feComponentTransfer and feColorMatrix for the palette > reduction: > > > > See > http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html#feComponentTransf > er - there are some examples of "posterizing" there I think. > > > > Also, the animated example at > http://srufaculty.sru.edu/david.dailey/svg/matrixFilter.svg may provide some > notion of how to combine these filters into chained effects (either Opera, > FF6 or IE/ASV should allow you to see it - I was very pleasantly surprised > to see FF now handling this!). > > > > For the dithering part, yes, I would look at feConvolveMatrix - and there > are some examples of using it in the example above. > > > > Webkit and IE are a bit behind the others in filter implementations. > > > > > > Cheers > > David > > > > From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com] > On Behalf Of Colin > Sent: Friday, October 07, 2011 3:14 AM > To: svg-developers@yahoogroups.com > Subject: [svg-developers] Palette and dithering > > > > > > Hello, > > I realise this may go against the grain of what SVG is for, but is there any > way to give graphics an "8-bit look"? > > In raster this is generally done by reducing the colour range to about 256, > then using ordered dithering. The result is something like this: > > http://bisqwit.iki.fi/jutut/kuvat/ordered_dither/scenebayer.png > > Could the feConvolveMatrix filter do this? (I can't test it just now because > it appears to be broken in Chrome.) > > Thanks, > Colin. > > > > > > [Non-text portions of this message have been removed] > ------------------------------------ ----- To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/