Skip to content

MassiveHeights/svg2bvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converts SVG to Black Vector Graphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published