Skip to content

Version Packages - #141

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@beesolve/image-optimizer@0.5.0

Minor Changes

  • b98f9f2: rect now uses size buckets and the native transport is uncompressed PNG.

    • rect selects the smallest size bucket that covers the scale of the region (output size divided by region size), maps the region onto the intermediate and resizes to the same output size as before. Regions that need about the density of the original are still cut from the original, never upscaled from a bucket. rect requests now read and create intermediates.
    • Stills travel to and from the native module as stored PNG instead of zlib-compressed PNG. On the sample stack a rect miss with an output up to 800x600 went from 2.7 to 10.7 seconds to 104 to 900 ms, a 5000x4000 region from 7.5 to 2.6 seconds, a rect over a whole 48 megapixel original from a timeout to 18 seconds, and fit=crop, fit=fill, fit=fillmax and the alpha flatten became 30 to 40 percent faster. Peak memory of very large crops is higher (192 MB transport buffer for 48 megapixels).
    • Pixels of rect responses can differ slightly from earlier versions (the bucket path, edges move by less than half an output pixel). Dimensions are unchanged.
    • The 422 bodies name the limit and the setting: Image has more than 50000000 pixels, the limit set by maxPixels and Image is larger than 52428800 bytes, the limit set by maxSourceBytes.
    • Defaults are unchanged (maxPixels, maxSourceBytes, sizeBuckets). See ADR-025.

@beesolve/file-storage@0.4.1

Patch Changes

  • Updated dependencies [b98f9f2]
    • @beesolve/image-optimizer@0.5.0

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants