sammycage / lunasvg

lunasvg is a standalone SVG rendering library in C++
MIT License
818 stars 115 forks source link

Objects with gradients are shown differently #169

Open rossanoparis opened 2 months ago

rossanoparis commented 2 months ago

The conversion from this SVG file to a PNG image, shows badly two objects with gradients velocimetro.zip

The white gradient above the green arrows and the gray shadow are shown differently.

image

sammycage commented 2 months ago

The issue you're experiencing with the gradients in the SVG to PNG conversion is due to the use of filters. Unfortunately, filters are not currently supported, which is causing the discrepancies you're seeing with the white gradient above the green arrows and the gray shadow.

rossanoparis commented 2 months ago

Thank you @sammycage I'm sorry, I forgot the 'TODO' list that details the library.