Svgo: convert shape to path - add circle, ellipse

Created on 20 Jul 2015  路  6Comments  路  Source: svg/svgo

Most helpful comment

Such an option was added in v1.0.0.

All 6 comments

Circle and ellipse hasn't been added because they're have less bytes in a form of circle and ellipse tags instead of path.

But when there are a lot of circles it is better to convert them to path and merge. You can add ellipse and shapes conversion and and add a flag for those who want convert them.

It may be so, but there is no such a logic for now. It requires sophisticated algo that doesn't fit in current design. May be in future, when there'll be much better architecture (it's in early planning stage).

Agree to @onlymega , I try to use js to draw svg instead of use svg as image.
I want my svg is all made by Paths.

@onlymega would also like to see this implemented.
Maybe as an optional argument which is off by default?

Such an option was added in v1.0.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdkjones picture bdkjones  路  3Comments

gregberge picture gregberge  路  3Comments

SebKay picture SebKay  路  5Comments

Roman52 picture Roman52  路  5Comments

guliash picture guliash  路  4Comments