@pixzle/cli 0.1.1 → 0.1.2

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 +17 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -32,6 +32,23 @@ pixzle shuffle <images...> -o <output_directory> [options]
32
32
  pixzle shuffle input.png -o ./output
33
33
  ```
34
34
 
35
+ ### Input multiple images
36
+
37
+ With `--cross-image-shuffle`, blocks are mixed across all input images, rather than being shuffled independently within each image.
38
+
39
+ | input 1 | input 2 | input 3 |
40
+ |:-------:|:---------------:|:---------------:|
41
+ | ![](../../.docs/input_sample.png) | ![](../../.docs/input_sample_mono.png) | ![](../../.docs/input_sample_blue.png) |
42
+
43
+ | output 1 | output 2 | output 3 |
44
+ |:-------:|:---------------:|:---------------:|
45
+ | ![](../../.docs/output_m0.png) | ![](../../.docs/output_m1.png) | ![](../../.docs/output_m2.png) |
46
+
47
+ > [!WARNING]
48
+ > - Currently, restoration with --cross-image-shuffle is only supported in Node.js and CLI environments.
49
+ > - May cause memory shortage depending on the number of images and block size.
50
+
51
+
35
52
  ### Restore
36
53
 
37
54
  Restore fragmented images.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixzle/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI implementation of image fragmentation and restoration",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "commander": "^12.1.0",
36
- "@pixzle/core": "0.1.1",
37
- "@pixzle/node": "0.1.1"
36
+ "@pixzle/core": "0.1.2",
37
+ "@pixzle/node": "0.1.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^22.10.1",