@blazediff/core-native 5.0.0 → 5.1.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -19,10 +19,16 @@ The fastest single-threaded image diff in the world. Native Rust implementation
19
19
  - Cross-platform pre-built binaries (~700KB-900KB, no compilation required)
20
20
 
21
21
  **Vendored Libraries:**
22
- - [libspng](https://libspng.org/) - Fast PNG decoding/encoding with SIMD
22
+ - [libspng](https://libspng.org/) - Fast PNG decoding/encoding with SIMD (default)
23
23
  - [libjpeg-turbo](https://libjpeg-turbo.org/) - High-performance JPEG codec with SIMD
24
24
  - [qoi](https://github.com/aldanor/qoi-rust) - QOI (Quite OK Image) format for fast lossless compression
25
25
 
26
+ > **Experimental PNG codec:** the binaries also bundle an in-house Rust PNG codec
27
+ > ([`blazediff-png`](https://github.com/teimurjan/blazediff/tree/main/crates/blazediff-png)),
28
+ > faster than spng on every fixture with byte-exact decode parity. It's opt-in:
29
+ > set `BLAZEDIFF_PNG_ENABLED=1` to route PNG decode and stored-block (level 0) encode
30
+ > through it. spng stays the default.
31
+
26
32
  > **Note:** This package was previously published as [`@blazediff/bin`](https://www.npmjs.com/package/@blazediff/bin), which is now deprecated. Please use `@blazediff/core-native` instead.
27
33
 
28
34
  ## Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blazediff/core-native",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Native Rust binaries for blazediff - the fastest image diff in the world",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -20,12 +20,12 @@
20
20
  "dist"
21
21
  ],
22
22
  "optionalDependencies": {
23
- "@blazediff/core-native-darwin-arm64": "5.0.0",
24
- "@blazediff/core-native-darwin-x64": "5.0.0",
25
- "@blazediff/core-native-linux-arm64": "5.0.0",
26
- "@blazediff/core-native-linux-x64": "5.0.0",
27
- "@blazediff/core-native-win32-arm64": "5.0.0",
28
- "@blazediff/core-native-win32-x64": "5.0.0"
23
+ "@blazediff/core-native-darwin-arm64": "5.1.0",
24
+ "@blazediff/core-native-darwin-x64": "5.1.0",
25
+ "@blazediff/core-native-linux-arm64": "5.1.0",
26
+ "@blazediff/core-native-linux-x64": "5.1.0",
27
+ "@blazediff/core-native-win32-arm64": "5.1.0",
28
+ "@blazediff/core-native-win32-x64": "5.1.0"
29
29
  },
30
30
  "keywords": [
31
31
  "image",