Skip to content

Release v1.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Sep 04:15
· 720 commits to main since this release

Minor Changes

  • 27a9793: ✨ Added quality option for image conversion.

    • Defaults to 0.92.
    • Used only when conversion is required and the output format is lossy (e.g., JPEG).

Patch Changes

  • c57114b: Improve SVG → image conversion by preferring OffscreenCanvas over <canvas> when available.

    • OffscreenCanvas advantages:

      • Runs in worker contexts → avoids blocking the main thread during rasterization.
      • Provides more consistent and reliable Blob generation compared to HTMLCanvasElement.toBlob.
      • Better performance for large or complex SVGs.
    • Fallback to <canvas> remains for browsers without OffscreenCanvas support (e.g., Safari).

Full Changelog: 1.3.2...1.4.0