On 04/17/2015 03:37 PM, Tavmjong Bah wrote:
On Fri, 2015-04-17 at 14:49 +0200, Jabier Arraiza wrote:
Hi, a question is posibol use Linear RGB in Mesh Gradients to avoid dark holes? Can be a GUI option? Maybe PDF/AI compatibility problems?
It would be nice to be able to use Linear RGB everywhere. There is a property in SVG to dictate that blending etc. should be done in the linear RGB space but it is not supported by anyone that I know of. I looked awhile back at implementing it in SVG when I implemented linear RGB support for filters but it didn't seem to be easy to do.
This is indeed a shame, but in principle it's possible to use a work-around by converting the colours used in the mesh to linearRGB manually, and then applying a filter over the output that goes back to sRGB (at least approximately, using feComponentTransfer). It's a bit dirty, and may not get the best possible image quality, but it might be good enough for some purposes at least.