Skip to content

2.x - #242

Merged
bergie merged 7 commits into
masterfrom
2.x
Oct 10, 2026
Merged

2.x#242
bergie merged 7 commits into
masterfrom
2.x

Conversation

@bergie

@bergie bergie commented Oct 10, 2026

Copy link
Copy Markdown
Member

No description provided.

- All 29 components isomorphic on the @noflo/canvas engine contract
- Dependencies: gm/request/superagent/urijs/tmp/graceful-logger/
  read-chunk/animated-gif-detector/rgbquant/d3-color/chroma-js (unused
  in 1.x) all removed; added culori, file-type v21, image-size v2,
  gifuct-js, image-q; jsfeat 0.0.8 vendored wholesale under lib/vendor
- GetGIFFrame reimplemented on gifuct-js with cumulative frame
  composition, replacing the GraphicsMagick external binary
- DetectAnimatedGif checks the GIF NETSCAPE2.0 extension directly
- UrlToBuffer uses fetch (data: and http(s)); UrlToTempFile and
  CreateImage dropped in favor of byte-flow composition
- Measure works on image bytes via image-size v2
- GetColors/GetColorsFromRectangles use image-q; the rgbquant method
  port is dropped as it has no image-q equivalent
- Fixed 1.x bugs: FindFreeRectangles kept its validity grid in
  module-level state (concurrent activation corruption); ToFullscale's
  wikimedia converter dropped its replacement result; GetCannyEdges
  called grayscale with two arguments and read its own parameters from
  the wrong object; GetPresetCurve passed an Error to output.done
- 23 node:test cases covering every component group, with a generated
  valid 2-frame animated GIF fixture
The vendored jsfeat build is third-party code that must not be
reformatted, and the fixture images' metadata JSONs are data, not
suites to lint.
The 2.0.0-alpha.1 release is published under the next dist-tag; the
semver range resolves it regardless of dist-tags.
Alpha.2 carries the engine contract follow-ups the image components
need: putImageData and createRadialGradient, the drawImage argument
order shim, and clamped getImageData.
@bergie
bergie merged commit d4a88e7 into master Oct 10, 2026
2 checks passed
@bergie
bergie deleted the 2.x branch October 10, 2026 22:50
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.

1 participant