Skip to content

Latest commit

 

History

History
191 lines (124 loc) · 8.22 KB

CHANGELOG.md

File metadata and controls

191 lines (124 loc) · 8.22 KB

Change Log

All notable changes to this project will be documented in this file. Only versions published since 2022-01-01 are listed here. Please consult the Git history for older version information. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

7.3.6 (2024-10-05)

♻️ Refactoring

  • add explicit type casts (TS5.6.2) (dcbdd60)

7.3.0 (2024-08-10)

🚀 Features

  • add poisson-image example (87ec9e7)
    • update readmes
    • cc @nkint :)

7.2.1 (2024-08-01)

♻️ Refactoring

  • add OffscreenRawPixelBuffer, fix canvasPixels() (06c6397)
    • update canvasPixels() return type if given offscreen canvas as arg

7.2.0 (2024-08-01)

🚀 Features

  • extend CanvasContext and related functions to support OffscreenCanvas for better performance in web workers (56d0985) refactor(pixel): update canvas handling in pixel module to accommodate OffscreenCanvas for improved rendering capabilities
  • add OffscreenCanvas support (1617255)
    • update IBlit.blitCanvas() signature to accept OffscreenCanvas & OffscreenCanvasRenderingContext2D
    • update blitCanvas() impls for Float/IntBuffer (extract shared internals)
    • update canvasPixels()
    • minor cleanup after #488

7.1.0 (2024-07-25)

🚀 Features

  • add Iterable support for Int/FloatBuffer (b459dfa)

7.0.0 (2024-07-22)

🛑 Breaking changes

  • migrate/remove dominantColors() (#486) (8851726)
  • BREAKING CHANGE: migrate dominantColors() to @thi.ng/pixel-dominant-colors pkg
    • remove obsolete files
    • update pkg
  • migrate/remove convolve functions (#486) (bf61076)
  • BREAKING CHANGE: migrate convolve, normalMap & imagePyramid functionality to @thi.ng/pixel-convolve pkg
    • remove obsolete files
    • update deps/pkg
    • update readme

♻️ Refactoring

  • internal re-org (522db36)
  • internal update defIndexed(), remove obsolete deps (76e5638)
  • intern swapLane13 helper, remove dependency (ee202f8)

6.1.33 (2024-06-21)

♻️ Refactoring

  • minor, dedupe kernel normalization (4fec4e6)
  • enforce uniform naming convention of internal functions (56992b2)

6.1.29 (2024-04-20)

♻️ Refactoring

6.1.21 (2024-03-18)

♻️ Refactoring

  • update .rotateByID() impls (de6bd05)

6.1.11 (2024-02-22)

♻️ Refactoring

  • update object destructuring in all pkgs & examples (f36aeb0)

6.1.0 (2024-01-26)

🚀 Features

  • add canvasFromPixelBuffer(), update canvasPixels() (7f8583b)

6.0.0 (2023-12-19)

🛑 Breaking changes

  • remove canvas2d() & related types (20d1879)
  • BREAKING CHANGE: migrate canvas2d() & related types to new pkg @thi.ng/canvas
    • add canvas opts arg for imageCanvas()

5.0.0 (2023-11-12)

🛑 Breaking changes

  • update getRegion() return type (6c22953)
  • BREAKING CHANGE: update getRegion() to return undefined if result region < 1 pixel
    • add size checks to impls in IntBuffer/FloatBuffer

4.3.3 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

4.3.0 (2023-10-27)

🚀 Features

  • add imageFromFile(), deprecate imagePromise() (cac6468)
    • internal restructure, move all imageXXX() fns to /src/image.ts
    • add imageFromFile()
    • deprecate imagePromise(), add as imageFromURL()

4.2.9 (2023-08-04)

♻️ Refactoring

  • update identity usage in various pkgs (b6db053)

4.2.0 (2023-04-08)

🚀 Features

  • add IRotate and impls for int/float buffers (a25b52a)
    • add rotateCW/CCW/180 methods
    • add rotateByID()

4.1.0 (2023-01-10)

🚀 Features

  • add normalize opt for defKernel()/defLargeKernel() (9286590)
  • add FloatFormat.getNormalized() (ddf0980)
  • add FLOAT_GRAY_RANGE format (eedb24f)
  • update/improve FloatBuffer.as() single channel conversions (0146075)
    • check if both source & dest formats are single channel
    • if so, convert directly via getNormalized() and avoid intermediate (lossy) conversion via ABGR
    • using only scalar access also faster than per-pixel subarrays
  • add FloatFormat.range (0dbac7d)
    • update all float formats
    • update FloatBuffer.clamp/clampChannel/getChannel()
  • add IntBuffer/FloatBuffer.flipX() (daa7c32)

♻️ Refactoring

  • update IBlend (1d3f358)
    • include pre/postmultiply() fns
    • add docs
    • add FloatBuffer.isPremultiplied()

4.0.0 (2022-09-27)

🛑 Breaking changes

  • update .blitCanvas(), .toImageData() (85e4e38)
  • BREAKING CHANGE: add BlitCanvasOpts for optional .blitCanvas() args
    • update .blitCanvas() impls
    • update .toImageData() impls to accept pre-existing ImageData instance
    • add ensureImageData() check

3.4.0 (2022-04-07)

🚀 Features

  • buffer method additions, internal checks (a70b3c1)
    • add FloatBuffer.premultiply/postmultiply()
    • add Int/FloatBuffer.fill()