Skip to content

Releases: openclaw/rastermill

v0.3.1

30 May 14:58
v0.3.1
dbb453b

Choose a tag to compare

Changelog

  • Add maxBase64Bytes encode budgets and base64Bytes output metadata for model and messaging payload limits.
  • Expand coverage for malformed image headers, EXIF orientation handling, native fallback selection, and external encoder error paths.
  • Require Node 22 or newer and add a tarball install/import smoke gate to CI.

npm

Verification

Rastermill 0.3.0

26 May 20:08
v0.3.0
19be07c

Choose a tag to compare

Rastermill 0.3.0

Changes

  • Add transparency(input) for alpha-channel and transparent-pixel inspection across common raster formats.
  • Add execution: "auto" | "internal" | "external" so callers can keep work in-process, force native tools, or use automatic fallback.
  • Collapse writing into encode(input, options?) for exact formats, auto format choice, dimension limits, and byte-budget search.
  • Remove the documented encodeWithinBytes export; migrate encodeWithinBytes(input, { maxBytes, ...options }) to encode(input, { maxBytes, ...options }).
  • Add metadata policy controls: transformed outputs strip metadata by default; no-op within-limit auto encodes preserve original bytes unless callers pass metadata: "strip".
  • Improve default byte-budget searches so small dimension limits can keep downscaling without explicit search.maxSide.
  • Keep Photon loading lazy, including default-instance and external-execution paths.
  • Expand docs for transparency, execution modes, metadata behavior, and unified encode.

Verification

  • Local: pnpm check
  • Local: pnpm test (57 tests)
  • Local: pnpm build
  • Local: pnpm docs:check
  • Local: npm pack --dry-run
  • GitHub CI: CI run 26471848289 passed for commit 19be07c04392cfd26397ef9acdd6322cfe127a09.

npm

Rastermill 0.2.0

26 May 01:30
cef6808

Choose a tag to compare

Rastermill 0.2.0

Initial public npm release of Rastermill: portable image processing for Node agents with Photon, native codec fallbacks, pixel-budget guards, and typed encode/probe APIs.

npm: https://www.npmjs.com/package/rastermill/v/0.2.0
Tarball: https://registry.npmjs.org/rastermill/-/rastermill-0.2.0.tgz
Integrity: sha512-Uc3oKCF4v+sh8OznkG5P6wzQQUstZI/dEGubjNXfWqmCn6iMEAVz8V8S3SVJf+lfQsGpL9iIjBOECmt2ernOAA==

Proof: