Repository navigation
PJA 0.5.1
Only the zpaq-std plugin changes in this release. The pja command and libpja (7-Zip) are the same as in 0.5.0.
- MPO go to
pjaxagain.pjax's detection checks how much memory the decoder will need. For an MPO it counted the second image twice, once inside the first image's trailing raw bytes and again as a part. Two of the four camera MPO in the test set were estimated at 2^27 words, over the plugin's cap, when their streams need 2^25. They fell topja, which stores the second image almost raw (85%) instead of as a JPEG (75%). Nowpjaxtakes them. Only the detection changed: the streams and the ZPAQL are the same as before. - One verification per file instead of three. The detections of
pja,pjaxandpjalleach used to rebuild the whole JPEG to check it, and compress did it again. Now the first check is kept and reused. On 151 photos,pja's detection goes from 7.4 s to 0, with the same streams. - Large files use more threads. zpaq-std spreads its threads across files, so the plugin gave each file one thread, and a few large files left the rest of the machine idle. A new optional export,
zpaqstd_threads_v1(n), lets zpaq-std tell the plugin how many threads it runs; each call then uses its share for its file's bands. Four 10 MB MPO throughpjaxwith n = 8 compress in 12.6 s instead of 27.2 s and decompress in 9.3 s instead of 23.9 s, with the same streams. Without the call, each file gets one thread, as before.
Downloads
| platform | the pja command |
the zpaq-std plugin | libpja (C library, 7-Zip plugin) |
|---|---|---|---|
| Linux x86-64 | pja-0.5.1-linux-x86_64.tar.gz |
pja-0.5.1-zpaqstd-plugin-linux-x86_64.tar.gz |
pja-0.5.1-lib-linux-x86_64.tar.gz |
| Linux x86 (32-bit) | pja-0.5.1-linux-x86.tar.gz |
pja-0.5.1-zpaqstd-plugin-linux-x86.tar.gz |
pja-0.5.1-lib-linux-x86.tar.gz |
| Linux arm64 | pja-0.5.1-linux-arm64.tar.gz |
pja-0.5.1-zpaqstd-plugin-linux-arm64.tar.gz |
pja-0.5.1-lib-linux-arm64.tar.gz |
| macOS arm64 | pja-0.5.1-macos-arm64.tar.gz |
pja-0.5.1-zpaqstd-plugin-macos-arm64.tar.gz |
pja-0.5.1-lib-macos-arm64.tar.gz |
| Windows x64 (7 and later) | pja-0.5.1-windows-x64.zip |
pja-0.5.1-zpaqstd-plugin-windows-x64.zip |
pja-0.5.1-lib-windows-x64.zip |
| Windows x86 (XP and later) | pja-0.5.1-windows-x86.zip |
pja-0.5.1-zpaqstd-plugin-windows-x86.zip |
pja-0.5.1-lib-windows-x86.zip |
pja-0.5.1-zpaqstd.tar.gz holds the plugin's sources as zpaq-std vendors them, with VENDOR.md. CI builds and checks every binary on its own platform (.github/workflows/release.yml); libpja is checked with its C test and, on Linux x86-64, through a real 7-Zip. SHA256SUMS has the checksums. The Linux builds need glibc 2.34 or later. The macOS ones are not signed: run xattr -d com.apple.quarantine after unpacking.