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: [email protected] [mailto:[email protected]] On Behalf Of Colin Sent: Friday, October 07, 2011 3:14 AM To: [email protected] 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: [email protected] -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: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

