wmf exported a totally different image

Bug #605418 reported by L.K.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Unassigned
UniConvertor
New
Undecided
Unassigned

Bug Description

I have created a path with gradient color fill, but when exported to emf, the gradient was missed, and when exported to wmf, a totally different image was formed.

Revision history for this message
L.K. (llhmtc) wrote :
description: updated
su_v (suv-lp)
tags: added: exporting
Revision history for this message
su_v (suv-lp) wrote :

Could you add information about os and Inkscape version?

> when exported to wmf, a totally different image was formed.
with regard to WMF export: could you test exporting a new test drawing created after changing these Inkscape preferences:

SVG Output > Path data
 [ ] Allow relative coordinates
 [x] force repeat commands

tags: added: uniconvertor
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows, Inkscape 0.47(Uniconvertor 1.1.3) and UC 1.1.5, standalone version.

When using UC 1.1.5 (standalone), converting from SVG to WMF leads to a "list index out of range" error.
I've also tried to save the SVG file to Optimized SVG first, but this time UC returns: "Parsing error: 'style'".

Works correctly (but without gradient) with UC 1.1.4 from the command line (only a popen2 deprecation warning).

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Alvin Penner (apenner) wrote :

running Windows XP, Inkscape 0.48.0 r9654 (Aug 16 2010), which uses Uniconvertor 1.1.5

- if I save the paddle.svg as .wmf, then I get the Python error message : IndexError: list index out of range

- this appears to be caused by the gradient fill. If I replace the gradient with a solid fill then I get the attached .wmf file:

Revision history for this message
Adrien Cordonnier (adrien-cordonnier) wrote :

I have found a workaround for exporting svg images with gradients to EMF:

1) save a copy as XAML
2) manually edit line 2 of the XAML file: change <Viewbox ... Stretch="Uniform"> into <Viewbox ... Stretch="None">
3) convert XAML file to EMF file with xaml2emf (http://xamltoys.codeplex.com/)

Revision history for this message
Beluga (buovjaga) wrote :

Repro missing gradient with both, wmf does not turn into a different image, but the curves are lost so it looks blocky.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15073 (GTK3)

Revision history for this message
jazzynico (jazzynico) wrote :

Fixed in 0.91.
As for the gradient issue, you can use the "Convert gradients to color polygon series" in the export dialog. It's not "pure" vector, but at least it works.

Changed in inkscape:
milestone: none → 0.91
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.