depixel 0.0.3 → 1.0.0
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/README.md +3 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Kopf-Lischinski "Depixelizing Pixel Art" Node.js
|
|
2
|
-
|
|
1
|
+
Kopf-Lischinski "Depixelizing Pixel Art" for Node.js
|
|
2
|
+
====================================================
|
|
3
3
|
|
|
4
4
|
Based on the following paper:
|
|
5
5
|
* [Depixelizing Pixel Art](https://johanneskopf.de/publications/pixelart/)
|
|
@@ -12,7 +12,7 @@ Notes
|
|
|
12
12
|
* Most GPU code semi-automatically converted to JavaScript by Codex (AI)
|
|
13
13
|
* Example below is expanded to 12x via Depixel and then shrunk by 2x with linear filtering (e.g. 2xAA)
|
|
14
14
|
|
|
15
|
-
<img src="
|
|
15
|
+
<img src="https://github.com/Jimbly/depixel-js/blob/HEAD/test/test-in-6x-nearest.png"><img src="https://github.com/Jimbly/depixel-js/blob/HEAD/test/test-out-6x-bilinear.png">
|
|
16
16
|
|
|
17
17
|
## API
|
|
18
18
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depixel",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Depixelizing Pixel Art by Kopf-Lischinski and Felix Kreuzer for Node.js",
|
|
5
5
|
"main": "lib.js",
|
|
6
6
|
"keywords": [
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"upscale"
|
|
10
10
|
],
|
|
11
11
|
"author": "Jimb Esser (https://github.com/Jimbly)",
|
|
12
|
+
"homepage": "https://github.com/Jimbly/depixel-js",
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
14
15
|
"url": "git+https://github.com/Jimbly/npm-publish.git"
|