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

Convert the result to vector graphics #35

Open
ao2 opened this issue Jun 18, 2018 · 1 comment
Open

Convert the result to vector graphics #35

ao2 opened this issue Jun 18, 2018 · 1 comment

Comments

@ao2
Copy link

ao2 commented Jun 18, 2018

Hi,

depending on the input, the output may be shrunk even more when converted to vector graphics, as you also noticed in https://mzucker.github.io/2018/05/14/maptrace.html :)

Here is a quick and dirty example:
./noteshrink.py -e ".pnm" -P "convert %i %o" -c "potrace -b pdf -o %o %i" examples/tree.jpg

Maybe the example can be added to the README?

Unfortunately potrace only supports binary images.

Ciao,
Antonio

@lgarczyn
Copy link

Inkscape can batch process images to vector graphics, however the svg format is notoriously heavy, being text based.

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