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

revert, undo conversion? #45

Open
1isten opened this issue Sep 25, 2019 · 2 comments
Open

revert, undo conversion? #45

1isten opened this issue Sep 25, 2019 · 2 comments

Comments

@1isten
Copy link

1isten commented Sep 25, 2019

Can I revert an svg file(converted by svgbob) back to the original ascii text?

@ivanceras
Copy link
Owner

No, it requires a very complex algorithm. A quick hack however is to embed the original text in the svg and reverting back to original ascii is merely just extracting the embedded text. It has no practical purpose since you already have a copy of this original text. If you are thinking of editing the svg and the ascii text change as well, then it is not possible.

@1isten
Copy link
Author

1isten commented Sep 26, 2019

What's the right way to embed the original text in the svg?

(By the way the purpose here is I was using ascii text in markdown to write some posts, but I found svg be more responsive so I converted the ascii code to svg images, thanks for your great tool. But in case someday I need to edit/update the some images with a small change, but I don't keep the original ascii text copy, then I have to make re create the ascii text again to get my new svg...)

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

No branches or pull requests

2 participants