Skip to content

Commit 4576ea3

Browse files
committed
docs: update release notes to include zero-copy pixel pipeline and performance improvements
1 parent 8840372 commit 4576ea3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ jobs:
125125
## WebP4j Release
126126
127127
### What's Changed
128-
- **JPMS module support** — Added `module-info.java` via Multi-Release JAR (`dev.matrixlab.webp4j.core`), enabling scoped `--enable-native-access` on Java 22+ instead of `ALL-UNNAMED` (#7).
129-
- **Java 22+ native access documentation** — Added guidance for suppressing JEP 472 warnings on both classpath and module path.
128+
- **Zero-copy pixel pipeline** — Reworked the JNI bridge so `BufferedImage` rasters cross into libwebp without an intermediate format-conversion buffer, and decoding writes straight into the returned image's backing array. Deterministic allocation reductions vs 2.2.0: lossy encode **−98%**, lossless encode **−81%**, decode **−50% / −43%** (alpha / opaque), animated encode/decode **−98% / −50%**.
129+
- **Zero-copy BGR encode path** — Added a fast path for `TYPE_3BYTE_BGR` images that feeds pixels to libwebp without conversion.
130+
- **Single-pass GIF decoding** — GIFs are decoded in one pass with lazy canvas allocation, making first-frame extraction **~60% faster**.
130131
131132
### Installation
132133

0 commit comments

Comments
 (0)