Skip to content

v1.0.9

Choose a tag to compare

@Emasoft Emasoft released this 28 Nov 02:36
· 291 commits to main since this release

svg-bbox v1.0.9

Breaking Changes

Tool Naming Improvements

  • Renamed sbb-extractor → sbb-extract (simpler, consistent naming)
  • Renamed sbb-chrome-getbbox-extract → sbb-chrome-extract (clearer purpose)

New Features

sbb-chrome-getbbox Tool

  • New tool to extract Chrome's .getBBox() information
  • Useful for comparing our visual bbox algorithm with Chrome's results
  • Helps understand when Chrome's bbox is reliable vs unreliable

Improvements

Clear Algorithm Identification

  • sbb-[function] = Our reliable pixel-accurate visual bbox algorithm
  • sbb-chrome-[function] = Chrome's .getBBox() method (for comparison)
  • sbb-inkscape-[function] = Inkscape tools (for comparison)
  • Makes it crystal clear which tools use which algorithm

Installation

npm install svg-bbox@1.0.9

Browser (CDN)

<script src="https://cdn.jsdelivr.net/npm/svg-bbox@1.0.9/SvgVisualBBox.min.js"></script>

Full Changelog: v1.0.8...v1.0.9