@thi.ng/pixel-dither 1.1.96 → 1.1.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-12-31T09:44:24Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -162,4 +162,4 @@ If this project contributes to an academic publication, please cite it as:
162
162
 
163
163
  ## License
164
164
 
165
- © 2021 - 2023 Karsten Schmidt // Apache License 2.0
165
+ © 2021 - 2024 Karsten Schmidt // Apache License 2.0
package/dither.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  import type { IntBuffer } from "@thi.ng/pixel";
2
2
  import type { DitherKernel, DitherOpts } from "./api.js";
3
3
  /**
4
- * Generic kernel-based dithering. Takes a {@link DitherKernelFactory} and
5
- * integer pixel buffer (multiple channels supported). Applies dithering to all
6
- * (or configured) channels using provided options. Returns modified pixel
7
- * buffer.
4
+ * Generic kernel-based dithering. Takes a {@link DitherKernel} and integer
5
+ * pixel buffer (multiple channels supported). Applies dithering to all (or
6
+ * configured) channels using provided options. Returns modified pixel buffer.
8
7
  *
9
8
  * @param kernel -
10
9
  * @param img -
package/ordered.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { IntBuffer } from "@thi.ng/pixel";
2
2
  import type { BayerMatrix, BayerSize } from "./api.js";
3
3
  /**
4
4
  * Creates a Bayer matrix of given kernel size (power of 2) for ordered
5
- * dithering and use with {@link ditherPixels}
5
+ * dithering and use with {@link orderedDither}.
6
6
  *
7
7
  * @remarks
8
8
  * Reference:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-dither",
3
- "version": "1.1.96",
3
+ "version": "1.1.98",
4
4
  "description": "Extensible image dithering w/ various algorithm presets",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,9 +35,9 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/checks": "^3.4.16",
39
- "@thi.ng/math": "^5.7.11",
40
- "@thi.ng/pixel": "^6.0.3"
38
+ "@thi.ng/checks": "^3.4.18",
39
+ "@thi.ng/math": "^5.8.0",
40
+ "@thi.ng/pixel": "^6.1.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@microsoft/api-extractor": "^7.39.0",
@@ -105,5 +105,5 @@
105
105
  "parent": "@thi.ng/pixel",
106
106
  "year": 2021
107
107
  },
108
- "gitHead": "b3db173682e1148cf08a6bd907b8d90b47b7c066\n"
108
+ "gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
109
109
  }