@thi.ng/pixel-convolve 1.1.26 → 1.1.28

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.
Files changed (2) hide show
  1. package/README.md +23 -22
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/pixel-convolve](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-pixel-convolve.svg?68dd5cd4)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/pixel-convolve](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-pixel-convolve.svg?68dd5cd4)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/pixel-convolve.svg)](https://www.npmjs.com/package/@thi.ng/pixel-convolve)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/pixel-convolve.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Strided convolution & pooling](#strided-convolution--pooling)
@@ -27,7 +28,7 @@
27
28
 
28
29
  ## About
29
30
 
30
- Extensible bitmap image convolution, kernel presets, normal map & image pyramid generation. This is a support package for [@thi.ng/pixel](https://github.com/thi-ng/umbrella/tree/develop/packages/pixel).
31
+ Extensible bitmap image convolution, kernel presets, normal map & image pyramid generation. This is a support package for [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel).
31
32
 
32
33
  This package contains functionality which was previously part of and has been
33
34
  extracted from the [@thi.ng/pixel](https://thi.ng/pixel) package.
@@ -112,10 +113,10 @@ unsigned values when the image is converted into an integer format.
112
113
 
113
114
  | Step | Scale = 1 | Scale = 2 | Scale = 4 | Scale = 8 |
114
115
  |------|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
115
- | 0 | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-0-1.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-0-2.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-0-4.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-0-8.jpg) |
116
- | 1 | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-1-1.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-1-2.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-1-4.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-1-8.jpg) |
117
- | 2 | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-2-1.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-2-2.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-2-4.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-2-8.jpg) |
118
- | 3 | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-3-1.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-3-2.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-3-4.jpg) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/nmap-3-8.jpg) |
116
+ | 0 | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-0-1.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-0-2.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-0-4.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-0-8.jpg) |
117
+ | 1 | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-1-1.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-1-2.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-1-4.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-1-8.jpg) |
118
+ | 2 | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-2-1.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-2-2.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-2-4.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-2-8.jpg) |
119
+ | 3 | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-3-1.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-3-2.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-3-4.jpg) | ![](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/pixel/nmap-3-8.jpg) |
119
120
 
120
121
  ```ts tangle:export/readme-normalmap.ts
121
122
  import { ARGB8888, FLOAT_GRAY, floatBufferFromImage, imageFromURL } from "@thi.ng/pixel";
@@ -140,7 +141,7 @@ const nmapARGB = nmap.as(ARGB8888);
140
141
 
141
142
  **STABLE** - used in production
142
143
 
143
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bpixel-convolve%5D+in%3Atitle)
144
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bpixel-convolve%5D)
144
145
 
145
146
  ## Installation
146
147
 
@@ -172,25 +173,25 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.29 KB
172
173
 
173
174
  ## Dependencies
174
175
 
175
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
176
- - [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
177
- - [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
178
- - [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math)
179
- - [@thi.ng/pixel](https://github.com/thi-ng/umbrella/tree/develop/packages/pixel)
176
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
177
+ - [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
178
+ - [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
179
+ - [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
180
+ - [@thi.ng/pixel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/pixel)
180
181
 
181
182
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
182
183
 
183
184
  ## Usage examples
184
185
 
185
186
  Three projects in this repo's
186
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
187
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
187
188
  directory are using this package:
188
189
 
189
- | Screenshot | Description | Live demo | Source |
190
- |:--------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------|
191
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/adaptive-threshold.png" width="240"/> | Interactive image processing (adaptive threshold) | [Demo](https://demo.thi.ng/umbrella/adaptive-threshold/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/adaptive-threshold) |
192
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/geom-terrain-viz.jpg" width="240"/> | 2.5D hidden line visualization of digital elevation files (DEM) | [Demo](https://demo.thi.ng/umbrella/geom-terrain-viz/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/geom-terrain-viz) |
193
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/pixel-normal-map.jpg" width="240"/> | Normal map creation/conversion basics | [Demo](https://demo.thi.ng/umbrella/pixel-normal-map/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/pixel-normal-map) |
190
+ | Screenshot | Description | Live demo | Source |
191
+ |:--------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------|
192
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/adaptive-threshold.png" width="240"/> | Interactive image processing (adaptive threshold) | [Demo](https://demo.thi.ng/umbrella/adaptive-threshold/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/adaptive-threshold) |
193
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/geom-terrain-viz.jpg" width="240"/> | 2.5D hidden line visualization of digital elevation files (DEM) | [Demo](https://demo.thi.ng/umbrella/geom-terrain-viz/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-terrain-viz) |
194
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/pixel-normal-map.jpg" width="240"/> | Normal map creation/conversion basics | [Demo](https://demo.thi.ng/umbrella/pixel-normal-map/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/pixel-normal-map) |
194
195
 
195
196
  ## API
196
197
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-convolve",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "description": "Extensible bitmap image convolution, kernel presets, normal map & image pyramid generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/pixel-convolve"
13
13
  },
14
14
  "homepage": "https://thi.ng/pixel-convolve",
@@ -40,15 +40,15 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.17",
44
- "@thi.ng/checks": "^3.8.7",
45
- "@thi.ng/errors": "^2.6.6",
46
- "@thi.ng/math": "^5.15.6",
47
- "@thi.ng/pixel": "^7.5.26"
43
+ "@thi.ng/api": "^8.12.19",
44
+ "@thi.ng/checks": "^3.8.9",
45
+ "@thi.ng/errors": "^2.6.8",
46
+ "@thi.ng/math": "^5.15.8",
47
+ "@thi.ng/pixel": "^7.5.28"
48
48
  },
49
49
  "devDependencies": {
50
- "esbuild": "^0.27.2",
51
- "typedoc": "^0.28.16",
50
+ "esbuild": "^0.28.0",
51
+ "typedoc": "^0.28.18",
52
52
  "typescript": "^5.9.3"
53
53
  },
54
54
  "keywords": [
@@ -104,5 +104,5 @@
104
104
  "parent": "@thi.ng/pixel",
105
105
  "year": 2021
106
106
  },
107
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
107
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
108
108
  }