Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.
This repository was archived by the owner on May 25, 2019. It is now read-only.

Extract SVG width and height #15

@le717

Description

@le717

src/SvgSize.js

  • Fully extract width, height, viewBox and enable-background attribute values every time they are present
  • Extract values from AI, Inkscape, and minified (svgo tool) SVGs
  • Handle case if one, both, or all attributes are missing

main.js

  • Special routine for handing SVG graphics only
  • Update input fields once the width/height is extracted
  • Blank the inputs if no size is detected after one is

CSS

  • Do not disproportionately display SVGs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions