@blazediff/bin 0.3.0 → 0.5.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/dist/cli.js +7 -0
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -77,6 +77,7 @@ Options:
|
|
|
77
77
|
--include-aa Include anti-aliasing detection
|
|
78
78
|
--diff-mask Draw diff over transparent background
|
|
79
79
|
--transformer <name> Specify transformer to use (e.g. pngjs, sharp)
|
|
80
|
+
--color-space <name> Specify color space to use (e.g. yiq, ycbcr)
|
|
80
81
|
-h, --help Show this help message
|
|
81
82
|
|
|
82
83
|
Examples:
|
|
@@ -175,6 +176,12 @@ function parseArgs() {
|
|
|
175
176
|
i++;
|
|
176
177
|
}
|
|
177
178
|
break;
|
|
179
|
+
case "--colorSpace":
|
|
180
|
+
if (nextArg) {
|
|
181
|
+
options.colorSpace = nextArg;
|
|
182
|
+
i++;
|
|
183
|
+
}
|
|
184
|
+
break;
|
|
178
185
|
default:
|
|
179
186
|
console.error(`Unknown option: ${arg}`);
|
|
180
187
|
printUsage();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blazediff/bin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Command-line interface for the blazediff image comparison library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"homepage": "https://github.com/teimurjan/blazediff",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@blazediff/core": "0.
|
|
41
|
-
"@blazediff/pngjs-transformer": "0.
|
|
42
|
-
"@blazediff/sharp-transformer": "0.
|
|
40
|
+
"@blazediff/core": "0.5.0",
|
|
41
|
+
"@blazediff/pngjs-transformer": "0.5.0",
|
|
42
|
+
"@blazediff/sharp-transformer": "0.5.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^24.3.0",
|
|
46
46
|
"tsup": "8.5.0",
|
|
47
47
|
"typescript": "5.9.2",
|
|
48
|
-
"@blazediff/types": "0.
|
|
48
|
+
"@blazediff/types": "0.5.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup",
|