Assuming I have an svg that draws some paths, what tools should I use to find a viewbox that perfectly fits those paths so that all redundant space around is trimmed?
相关问题
- Convert svg to geojson fails with ogr2ogr
- How to get coordinates of an svg?
- Changing color of SVG which was embedded using <
- Understanding svg's viewbox attribute
- Convert an inline SVG into a SVG file
相关文章
- Make marker-end same color as path?
- How to display unicode in SVG?
- Converting svg to png with inkscape command line f
- How to create an SVG Matrix without an SVG element
- rect collision detection d3js
- My background image get cut off at the bottom
- Unwanted namespaces on SVG markup when using XMLSe
- D3 grouped bar chart: How to rotate the text of x
You can simply set your svg's viewBox to its Bounding Box.
Note: It will also take into account the non-visible anchors of your pathes.