@thi.ng/pixel-dither 1.1.7 → 1.1.8

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**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
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
@@ -164,4 +164,4 @@ If this project contributes to an academic publication, please cite it as:
164
164
 
165
165
  ## License
166
166
 
167
- © 2021 Karsten Schmidt // Apache Software License 2.0
167
+ © 2021 - 2022 Karsten Schmidt // Apache Software License 2.0
package/dither.d.ts CHANGED
@@ -6,9 +6,9 @@ import type { DitherKernel, DitherOpts } from "./api.js";
6
6
  * (or configured) channels using provided options. Returns modified pixel
7
7
  * buffer.
8
8
  *
9
- * @param kernel
10
- * @param img
11
- * @param opts
9
+ * @param kernel -
10
+ * @param img -
11
+ * @param opts -
12
12
  */
13
13
  export declare const ditherWith: (kernel: DitherKernel, img: IntBuffer, opts?: Partial<DitherOpts> | undefined) => IntBuffer;
14
14
  //# sourceMappingURL=dither.d.ts.map
package/dither.js CHANGED
@@ -5,9 +5,9 @@ import { range } from "@thi.ng/pixel/range";
5
5
  * (or configured) channels using provided options. Returns modified pixel
6
6
  * buffer.
7
7
  *
8
- * @param kernel
9
- * @param img
10
- * @param opts
8
+ * @param kernel -
9
+ * @param img -
10
+ * @param opts -
11
11
  */
12
12
  export const ditherWith = (kernel, img, opts) => {
13
13
  const { channels, bleed, threshold } = {
package/ordered.d.ts CHANGED
@@ -8,7 +8,7 @@ import type { BayerMatrix, BayerSize } from "./api.js";
8
8
  * Reference:
9
9
  * - https://en.wikipedia.org/wiki/Ordered_dithering
10
10
  *
11
- * @param size
11
+ * @param size -
12
12
  */
13
13
  export declare const defBayer: (size: BayerSize) => BayerMatrix;
14
14
  /**
package/ordered.js CHANGED
@@ -22,7 +22,7 @@ const init = (x, y, size, val, step, mat) => {
22
22
  * Reference:
23
23
  * - https://en.wikipedia.org/wiki/Ordered_dithering
24
24
  *
25
- * @param size
25
+ * @param size -
26
26
  */
27
27
  export const defBayer = (size) => ({
28
28
  mat: init(0, 0, size, 0, 1, []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-dither",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Extensible image dithering w/ various algorithm presets",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,17 +34,17 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/checks": "^3.1.3",
38
- "@thi.ng/math": "^5.2.0",
39
- "@thi.ng/pixel": "^3.3.1"
37
+ "@thi.ng/checks": "^3.1.4",
38
+ "@thi.ng/math": "^5.3.0",
39
+ "@thi.ng/pixel": "^3.3.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.19.2",
43
- "@thi.ng/testament": "^0.2.3",
42
+ "@microsoft/api-extractor": "^7.19.4",
43
+ "@thi.ng/testament": "^0.2.4",
44
44
  "rimraf": "^3.0.2",
45
45
  "tools": "^0.0.1",
46
- "typedoc": "^0.22.10",
47
- "typescript": "^4.5.3"
46
+ "typedoc": "^0.22.13",
47
+ "typescript": "^4.6.2"
48
48
  },
49
49
  "keywords": [
50
50
  "typescript"
@@ -105,5 +105,5 @@
105
105
  "parent": "@thi.ng/pixel",
106
106
  "year": 2021
107
107
  },
108
- "gitHead": "1ba92c6b9509e74e509b4c0b875fc380a97bbbc1\n"
108
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
109
109
  }