Skip to content

v4.24.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 21:48
· 89 commits to main since this release

4.24.0 - 2026-10-23

Features

  • api: Byte and RGBA outputs, Buffer/Blob/.emz input, bundled PNG encoding (150cb44)
  • api: Signal and timeoutMs to cancel or time-limit a conversion (169e153)
  • info: GetMetafileInfo inspects a metafile without rendering it (aee0a25)
  • info: GetMetafileInfo accepts MetafileInput (typed arrays, Blob, gzip) (ad47546)
  • cli: Emf-converter command for converting files to PNG, JPEG or SVG (c9cb652)
  • webp: Bundled WebP encoder (lossless VP8L, lossy VP8) and convertMetafileToWebpDataUrl (7e8a943)
  • webp: Merge main; add 'webp' to convertMetafile formats (49239ce)
  • pdf: Vector PDF output from the SVG tree (convertMetafileToPdf, svgTreeToPdf) (78e5eac)
  • cli: Webp and pdf formats, --lossy (2fa88ff)
  • webp: Bundled WebP decoder (VP8, VP8L, ALPH, first animation frame) for the no-canvas raster path (81f44be)

Bug Fixes

  • cli: Load the library from dist/index.mjs; convert named files of any extension (e3ddb1f)

Refactor

  • info: Compact record-name table instead of a constants namespace import (77e85f6)

Documentation

  • WebP and PDF output, byte/RGBA outputs, inputs, getMetafileInfo, cancellation, CLI (a09d58a)
  • readme: WebP and PDF in the install and pipeline notes (83b39dc)

Testing

  • pdf: WebP images embed through the bundled decoder (ef3c03b)