Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMF support? #1

Open
kjhughes opened this issue Jan 21, 2018 · 6 comments
Open

EMF support? #1

kjhughes opened this issue Jan 21, 2018 · 6 comments

Comments

@kjhughes
Copy link

Thank you for making your library available.

The project mentions both WMF and EMF, but as far as I can see, there is no actual support for EMF. Am I missing something, or is EMF support just in the planning stages?

@photopea
Copy link

Hey @kjhughes , you can use https://github.com/photopea/UDOC.js to parse EMF and WMF files!

@kjhughes
Copy link
Author

kjhughes commented Oct 10, 2018

@photopea That looks very promising. Will you be writing/releasing a toSVG.js writer? From my initial trials, your Photopea application appears to do a great job of converting from EMF to SVG. Would love to see such capabilities in UDOC.js or otherwise made available in an MIT licensed library. Thank you for your response and for making UDOC.js available.

@photopea
Copy link

photopea commented Oct 10, 2018

Actually, Photopea converts every format to PSD, and then, from PSD to another format (SVG in your case).

But UDOC.js allows to do a direct conversion. Making ToSVG would probably be quite easy (we did not need it, as we have a direct PSD to SVG converter, which preserves layer structure, layer names, which are not possible in WMF / EMF / PDF).

@kjhughes
Copy link
Author

@photopea: I see, and that makes sense.

A library with a EMF-to-SVG conversion path that passes through PSD would be absolutely fine -- doesn't have to be direct. Is that code available with similarly unencumbered licensing as UDOC.js, or might it be? It would be uniquely valuable as I do not believe any other JavaScript-based conversion path exists that's as good as Photopea's solution.

@photopea
Copy link

No, PSD-related stuff in Photopea is not open source. But I can add ToSVG.js into UDOC.js .

@kjhughes
Copy link
Author

@photopea: Excellent. Thank you both for UDOC.js under MIT and offering to add toSVG.js too. Will be very cool.

Thank you also for the Photopea application itself. Very nice work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants