Export SVG problem - Shapes using Angle Gradient disappear

Is something not working like it should? Let us know.
User avatar

2022-09-01 04:54:14

I've narrowed down this problem after seeing exported SVG files missing some content in published work. If you create a layer with a gradient that is "radial" it will not export that shape in a SVG. When viewing or opening the SVG image it will have a blank shape (no layer style). I'm attaching an example of before and after exporting to SVG format with all three types of gradients. The blue one below is the "radial" gradient that does not export properly to SVG:

A simple 3 shape's created to show the bug in Pixelmator in 2.4.5 Odesa:
Image

And then exporting as an SVG format - the 3rd Blue shape disappears!
Image

Please fix this bug, for now I'm avoiding "Angle" gradients until this addressed. Here are the shapes layers in the SVG file:
Image
Thanks
Shawn
User avatar

2022-09-01 07:44:36

I can confirm: conical gradients will be exported as a white color filled object in SVG.
@ShaTy It seems these gradients are not part of the SVG specs; other editors will rasterise (and mask/clip) the result to make it compatible with browsers for example. At least you can convert into pixels by yourself.
User avatar

2022-09-09 12:26:45

Reproduced, thanks for reporting this! I've passed it through to the devs and we'll look into it.