Converts SVG files to BVG.
npm install svg2bvg -g
svg2bvg --in face.svg --out book.json
- Mask, Clipping Mask
- Refs
- Style attributes
- Rect
- Circle
- Elipse
- Line
- Polyline
- Path
- Polygon
- Fill color
- Fill pattern
- Fill gradient
- Fill opacity
- Stroke color
- Stroke pattern
- Stroke gradient
- Stroke opacity
- Stroke width
- Line Dash
- Fill Rule
- Cap Style
- Joint Style
- Miter Limit
- Opacity
- Display
- px, pt, pc, mm, cm, in
- CSS styles and Inlined styles
- Embedded images
- CSS styles and Inlined styles (only attributes is supported)
- Markers
- Text - must be converted to outlines
- Animations
- Visibility
- Filters
- color-interpolation, color-interpolation-filters
- color-rendering
- shape-rendering
- text-rendering
- image-rendering
- viewBox
- Scripts
- External resources
- Interactivity
- Linking