# FR: SVG: Add support for masks to the SVG parser

**URL:** <https://forum.juce.com/t/fr-svg-add-support-for-masks-to-the-svg-parser/43416>\
**Category:** General JUCE discussion\
**Created:** [December 23, 2020, 1:01am UTC](https://forum.juce.com/t/fr-svg-add-support-for-masks-to-the-svg-parser/43416 "2020-12-23T01:01:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [December 23, 2020, 1:01am UTC](https://forum.juce.com/t/fr-svg-add-support-for-masks-to-the-svg-parser/43416/1 "2020-12-23T01:01:16Z")

</div>

Specs [here](https://www.w3.org/TR/SVG11/masking.html).

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [December 23, 2020, 8:47am UTC](https://forum.juce.com/t/fr-svg-add-support-for-masks-to-the-svg-parser/43416/2 "2020-12-23T08:47:02Z")

</div>

In some cases, where the SVGs you get have masks that can be converted to gradients, you can use [`svg-simplify`](https://github.com/yairchu/svg-simplify) to convert them so that current JUCE will draw them correctly.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [December 1, 2026, 1:47am UTC](https://forum.juce.com/t/fr-svg-add-support-for-masks-to-the-svg-parser/43416/3 "2026-12-01T01:47:04Z")

</div>

With LunaSVG, I believe this is covered now
