Using inkscape 1.0 command line option vsdx image is coverted to png image. But the converted image does not contain the blue color background in a rectangular box as in the vsdx file.Instead of blue it has white background. Hence the text contents are not visible in that rect box. In Inkscape 0.91 version, converted png image has black background for all the diagrams. So the text contents are visible.
It seems the problem is in libvisio which handles visio formats.
Steps to Reproduce:
1. open command line
inkscape --export-type="png" D:/OTP/Inkskape/Compare/abc.vsdx
Text contents are not visible because of white background in the rectangular box.
It should have the same color as in the vsdx file.
User Profile Reset: No
Created attachment 164755 [details]
David: thought you might be interested in this one since it concerns libvisio.
Created attachment 164765 [details]
Here's a screenshot on pc Debian x86-64 with master sources updated today.
It seems background is ok here.
Velmurugan Muthu: I wonder if it should be NOTOURBUG here. Indeed, if everything is ok on LO, the problem is not libvisio.
Did you submit a bug on Inkscape bugtracker? Perhaps they use an old version of libvisio.
Julian Nabet: Yes i opened an issue first in Inkscape only. Please refer the this link. https://gitlab.com/inkscape/inkscape/-/issues/1814
In the attached screenshot, the problem still exists. If you see, the rectangular box background should be in blue color but it is in the white background. Because of that text in that box are not visible.
Ok thank you for your feedback.
Is there any workaround for this issue ? Please feedback on the timeline for the solution. This issue blocks our migration to the newer version.
I don't see any workaround but I'm not an expert.
About solution, there's no feedback for the moment so no timeline defined.
Now don't forget libvisio, as LO, is an open source lib so you can also either fix or hire someone to fix the bug.
Thanks for the feedback.
Hello Velmurugan Muthu,
Would it be possible to add a screenshot showing how it should look ? Any chance you could open it with Visio ?
Created attachment 165263 [details]
vsdx file in visio. It looks as it is.
Created attachment 165265 [details]
Expected : converted png should look as same as vsdx file.
Or at least the text contents should be visible. Refer the image abc.png
Created attachment 166376 [details]
Reproduced issue in LibreOffice 7.0.2
I could confirm the issue on Libreoffice 7.0.2:
Version: 22.214.171.124 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 3; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Could you please save the vsdx file also in other formats (eg. vsd). I would like to check if the issue is also with old formats.
Still reproducible in
Version: 126.96.36.199.alpha0+ / LibreOffice Community
Build ID: bf883027ee62ece0844730572305094f53daa521
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
@Andras, since you fixed bug 73523, I thought you might be interested in this issue as well
My theory is that this blue color is the default color, and libvisio falsely imports it as white. I think the root cause is the same as with sample file from tdf#77915
(In reply to Bartosz from comment #14)
> Could you please save the vsdx file also in other formats (eg. vsd). I would
> like to check if the issue is also with old formats.
VSD format does not have this bug.
Created attachment 177533 [details]
The same file in VSD format. It's OK.