metanorma / libemf2svg

Microsoft (MS) EMF to SVG conversion library
GNU General Public License v2.0
11 stars 2 forks source link

Missing gradients in EMF files #12

Closed ronaldtse closed 8 months ago

ronaldtse commented 3 years ago

In the generated SVGs we don't see any gradients.

Screenshot 2021-07-12 at 7 43 02 PM

However, in the original Enterprise Architect PNGs, the gradients exist.

Screenshot 2021-07-12 at 7 43 11 PM

We need to find out whether these gradients are actually missing from the EMFs or they got lost in the EMF=>SVG process.

Images: Primitives.zip

maxirmx commented 8 months ago

I guess if it is related to #38 ....

maxirmx commented 8 months ago

@ronaldtse I made some tests as this issue is very close to #38

My guess is that gradient brush is very complex multilevel structure in emf file and EA does not (or did not) generate it. So the export gradient to png but not to emf.

I suggest we close this issue.

ronaldtse commented 8 months ago

Thanks @maxirmx !