roxify 1.12.3 → 1.12.6

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 CHANGED
@@ -327,7 +327,7 @@ async function encodeCommand(args) {
327
327
  }, 2000);
328
328
  const encryptType = parsed.encrypt === 'xor' ? 'xor' : 'aes';
329
329
  const fileName = basename(inputPaths[0]);
330
- await encodeWithRustCLI(inputPaths.length === 1 ? resolvedInputs[0] : resolvedInputs[0], resolvedOutput, 12, parsed.passphrase, encryptType, fileName, onProgress);
330
+ await encodeWithRustCLI(inputPaths.length === 1 ? resolvedInputs[0] : resolvedInputs[0], resolvedOutput, 0, parsed.passphrase, encryptType, fileName, onProgress);
331
331
  clearInterval(smoothInterval);
332
332
  const encodeTime = Date.now() - startTime;
333
333
  encodeBar.update(100, {
@@ -395,7 +395,7 @@ async function encodeCommand(args) {
395
395
  mode,
396
396
  name: parsed.outputName || 'archive',
397
397
  skipOptimization: false,
398
- compressionLevel: 6,
398
+ compressionLevel: 0,
399
399
  outputFormat: 'auto',
400
400
  container: containerMode,
401
401
  });
@@ -59,7 +59,7 @@ export async function encodeBinaryToPng(input, opts = {}) {
59
59
  };
60
60
  }
61
61
  }
62
- const compressionLevel = opts.compressionLevel ?? 19;
62
+ const compressionLevel = opts.compressionLevel ?? 3;
63
63
  // ─── Lossy-resilient encoding fast path ────────────────────────────────────
64
64
  // When lossyResilient is true, use QR-code-style block encoding with
65
65
  // Reed-Solomon FEC. This produces output that survives lossy compression.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roxify",
3
- "version": "1.12.3",
3
+ "version": "1.12.6",
4
4
  "type": "module",
5
5
  "description": "Ultra-lightweight PNG steganography with native Rust acceleration. Encode binary data into PNG images with zstd compression.",
6
6
  "main": "dist/index.js",
@@ -110,4 +110,4 @@
110
110
  "dependencies": {
111
111
  "cli-progress": "^3.12.0"
112
112
  }
113
- }
113
+ }