dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
67 stars 25 forks source link

convert vsd to svg #28

Open rg2609 opened 2 years ago

rg2609 commented 2 years ago

HI, can we convert the vsd to SVG or create vsd file and export it to the SVG file.

dave-howard commented 2 years ago

Hello - this is a great idea but would be a big undertaking - not something I plan to add to the package. If you decide to have a go and use this vsdx package in some way I would be interested to hear more and if you need changes to this package to support that effort please do raise an issue in here All the best Dave

FROGGS commented 2 years ago

Hi, I am currently working on a project for displaying a vsdx file directly in browser as an SVG image. I might release an alpha version soon. I'll post here when that happens.

sri-0 commented 8 months ago

@FROGGS any update on your attempts at this? I'd be interested too on working on that. Specifically using the vsdx package, generate the shape representation then using that shape representation generate the same as an svg which can be then shown in web based app.

FROGGS commented 8 months ago

@sri-0 I made some progress on this till about a year ago, but due to a lot of work@work I wasn't able to continue. I will continue eventuelly because we need a proper Visio web viewer.

Though, my setup ist the following:

The biggest issue is the that not every information is included in a vsdx file. There are master shapes or at least properties of master shapes that one has to reverse engineer, and also there are "secret" formulas that need to be guessed in order to display arrow sizes correctly for example. So, there is still a lot of work todo. It is far from beeing used in production right now.

Kreijstal commented 7 months ago

is it well documented?

@sri-0 I made some progress on this till about a year ago, but due to a lot of work@work I wasn't able to continue. I will continue eventuelly because we need a proper Visio web viewer.

Though, my setup ist the following:

* it's not built upon this vsdx package, it is written in TypeScript and does not share much code with this project here.

* it is an angular app, were shapes for example are angular components

* some visio files look almost alright, others look completely destroyed

The biggest issue is the that not every information is included in a vsdx file. There are master shapes or at least properties of master shapes that one has to reverse engineer, and also there are "secret" formulas that need to be guessed in order to display arrow sizes correctly for example. So, there is still a lot of work todo. It is far from beeing used in production right now.