@blazediff/cli 2.1.2 → 2.1.4
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 +5 -5
- package/dist/cli.js +847 -726
- package/dist/commands/{bin.js → core-native.js} +10 -10
- package/dist/commands/core.js +830 -709
- package/dist/commands/gmsd.js +830 -709
- package/dist/commands/hitchhikers-ssim.js +830 -709
- package/dist/commands/msssim.js +830 -709
- package/dist/commands/ssim.js +830 -709
- package/dist/index.d.ts +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,13 +25,13 @@ blazediff-cli <command> <image1> <image2> [options]
|
|
|
25
25
|
|
|
26
26
|
BlazeDiff supports multiple comparison algorithms, each optimized for different use cases:
|
|
27
27
|
|
|
28
|
-
### `
|
|
28
|
+
### `core-native` - Native binary comparison (default)
|
|
29
29
|
The fastest option. Uses the native Rust binary with SIMD optimization for maximum performance.
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
blazediff-cli image1.png image2.png diff.png [options]
|
|
33
33
|
# Or explicitly:
|
|
34
|
-
blazediff-cli
|
|
34
|
+
blazediff-cli core-native image1.png image2.png diff.png [options]
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
**Options:**
|
|
@@ -42,7 +42,7 @@ blazediff-cli bin image1.png image2.png diff.png [options]
|
|
|
42
42
|
- `-h, --help` - Show help message
|
|
43
43
|
|
|
44
44
|
### `core` - JavaScript pixel comparison
|
|
45
|
-
Pure JavaScript implementation. Slower than `
|
|
45
|
+
Pure JavaScript implementation. Slower than `core-native` but offers more customization options.
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
blazediff-cli core image1.png image2.png [options]
|
|
@@ -110,7 +110,7 @@ blazediff-cli hitchhikers-ssim image1.png image2.png [options]
|
|
|
110
110
|
```bash
|
|
111
111
|
# Native binary diff (default, fastest)
|
|
112
112
|
blazediff-cli image1.png image2.png diff.png
|
|
113
|
-
blazediff-cli
|
|
113
|
+
blazediff-cli core-native image1.png image2.png diff.png -t 0.05 -a
|
|
114
114
|
|
|
115
115
|
# JavaScript pixel diff (more options)
|
|
116
116
|
blazediff-cli core image1.png image2.png -o diff.png -t 0.05
|
|
@@ -138,7 +138,7 @@ blazediff-cli core image1.jpg image2.jpg --transformer sharp
|
|
|
138
138
|
|
|
139
139
|
## Exit Codes
|
|
140
140
|
|
|
141
|
-
###
|
|
141
|
+
### core-native/core Mode
|
|
142
142
|
- `0` - Images are identical
|
|
143
143
|
- `1` - Images have differences
|
|
144
144
|
- `2` - Error (file not found, invalid format, etc.)
|