0.1.3 • Published 6 years ago

svg2bvg v0.1.3

Weekly downloads
6
License
SEE LICENSE IN LI...
Repository
-
Last release
6 years ago

svg2bvg

Converts SVG files to BVG.

Installation

npm install svg2bvg -g

Usage

svg2bvg --in face.svg --out book.json

Supported SVG featuers

Common

  • Mask, Clipping Mask
  • Refs
  • Style attributes

Shapes

  • Rect
  • Circle
  • Elipse
  • Line
  • Polyline
  • Path
  • Polygon

Styles

  • 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

Units

  • px, pt, pc, mm, cm, in

Next Release

  • CSS styles and Inlined styles
  • Embedded images

Not supported SVG features

  • 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