ZX Codec 1.0 provides lossless image and channel coding (ZXI, ZXIL, ZXF2), Bayer sensor archiving (ZX-RAW), all-intra video (ZXV1), and lossy ZX-Photo previews. Image loading costs depend on container layout, compression mode, and reader. Channel packets allow selective reads of 3D render passes, while independently coded frames support random access for multi-camera training. Straight16 preserves the supplied RGB(A) samples, including RGB under zero alpha. The photographic Grade444 pans differed from their source photographs. The ALOHA comparisons used the original AV1 decoder output as the reference. The report covers compatibility on four platform/architecture targets and measures performance separately on a shared A100 (historical 0.6.0 build) and a local RTX 5080 (1.0.0 runtime, byte-identical native library in 1.0.1).
ZX focuses on local creative work and training pipelines. The early lossy long-GOP prototype trailed mature codecs in controlled tests and is frozen.
Published bitstream specifications cover ZXI, layered ZXIL (v1 and v2), ZXV1, and ZX-Photo. All checked Windows PE binaries had empty static TLS directories.
| Format | Role | Underlying Mechanisms & Exact Scope | Primary Workloads |
|---|---|---|---|
| ZXI | 8/10/16-bit flat | ZXI27S stores RGB(A) in stripes with optional ICC. Reversible color differencing, prediction, and Zstandard depend on the method. | 201.3 MP stills, Photoshop, ComfyUI |
| ZXIL v2 | Tiles & layers | Tile edges of 256, 512, or 1024 pixels. The Photoshop plug-in preserves supported raster layers. | Random crops, 8K layers |
| ZXF2 | Lossless channels | HALF, FLOAT, and UINT. Independent channel and stripe packets support selective reads. | Blender, depth and normal passes |
| ZXV1 | All-intra video | Frame directory, exact Straight16 RGB(A), optional PCM tracks. The measured Grade444 pans changed source RGB values. | Robotics, AE/PR/Resolve |
| ZX-RAW | Bayer archiving | Four-phase prediction preserves sensor samples. Exact recovery of a compressed DNG container requires --preserve-exact-container. | Lightroom, Camera Raw |
| ZX-Photo | Lossy photography | Quantized quality presets for desktop culling and preview. | Photo browsing |
PinnedVideoPrefetcher uses one background producer, two alternating pinned host buffers, and asynchronous CUDA copies. CUDA events synchronize buffer reuse. The local ALOHA run recorded zero new pinned allocations in epochs 2 and 3 after building the pool.
Four wheels cover Windows x64, Linux x86-64, Linux ARM64, and macOS ARM64 (1.0.1 reuses the byte-identical 1.0.0 native libraries). Pre-release private hosted validation on Apple M2 Pro, Arm Neoverse-N2, AMD EPYC 7763, and Intel Xeon Platinum 8573C passed four-process spawn decoding (plus fork on non-Windows and forced baseline dispatch on x64). Separate performance runs used a shared A100 (historical 0.6.0 Linux build; not byte-identical to 1.0.x, pending same-protocol 1.0.x re-run) and a local RTX 5080 (1.0.0 runtime). Each timed local run or batch began with CPU load <20%, nvidia-smi GPU utilization ≤25%, and decoder utilization ≤5%. RTX training steps include loading, transfer, forward and backward passes, model update, and CUDA synchronization. The tested backends matched stepwise losses within each RTX training workload.
| Workload, Hardware & Build | ZX Codec | Listed Baselines | Measured Delta |
|---|---|---|---|
| Shared A100-40GB (historical 0.6.0) 12 regions of 224², one synthetic 4K 11-channel plate, Z + three normals |
ZXF2 345.1 crops/s 99.16 crops/s at 1 thread |
EXR Zstd 112.5, ZIP 35.0 crops/s NPY 869.20 crops/s at 1 thread |
3.1× EXR Zstd 9.9× EXR ZIP 8 decode threads (0.6.0 build) |
| Shared A100-40GB (historical 0.6.0) 12 synthetic 4K frames per view, two views repeated over 100 steps |
ZXV1 11.50 steps/s | HEVC GOP8, steps/s Host-routed NVDEC 1.05 PyAV (4 threads) 0.44 |
10.9× NVDEC 26.4× PyAV |
| TLS 1.3 range reads 0.8.0 Hugging Face MP4 1.0.0 GitHub companion |
MP4 262 KB (2.72 s) Companion 128.9 KB for Z or 677.8 KB for all four channels |
Full MP4 5.22 MB (2.17 s) Original ZXF2 1.34 MB |
94.98% less MP4 payload 90.4% less for Z only |
| RTX 5080 HDR (ViT-B/16, 48 steps) Z and three normals from eight synthetic 4K eleven-channel views |
83.62 ms/step 47.84 samples/s · 171.6 MB |
EXR ZIP 188.29 ms (681.2 MB) Zarr 365.05 ms WebDataset* 567.58 ms |
2.25× EXR ZIP 6.79× WebDataset* 74.8% smaller than EXR |
| RTX 5080 crops (ViT-B/16, 64 steps) 201.3 MP, four workers, eight 512² crops per step |
Fast 54.88 ms/step Compact 59.90 ms/step |
tifffile 60.56, libtiff 63.38 ms Full PNG then crop 2,199.6 ms Tiled Zstd TIFF 279 MB |
Fast 40.1× PNG Fast 27.8% smaller than TIFF Compact 45.2% smaller |
| RTX 5080 physical ALOHA Four 640×480 cameras Three epochs, 525 steps |
Warm synchronized seek, p50 0.88 ms Total training 33.25 s |
HEVC/PyAV 2.75 ms / 32.59 s AV1/PyAV 1.68 ms / 32.23 s HEVC/NVDEC 38.48 ms / 109.75 s |
1.9×–43.8× warm seek 3.30× training vs host-routed NVDEC Matching recorded losses |
| RTX 5080 three-view 4K training One 120-frame pan per photo, three photos, 48 full steps |
98.58 ms/step 121.73 camera frames/s 40.58 three-view samples/s |
PyAV GOP1 636.98 ms/step Host-routed NVDEC GOP1 1,696.78 ms/step |
6.46× vs PyAV GOP1 17.21× vs host NVDEC |
| Photoshop 2026 201.3 MP flat Display P3 8K seven-layer RGB16 |
ZXI Fast 0.93 s save, 0.66 s reopen ZXIL High 7.979 / 1.960 s |
Flat save PNG-6 13.78 s, TIFF-ZIP 41.06 s 8K PSD 5.828 / 0.883 s |
14.8× PNG · 44.2× TIFF save Flat 43.4% / 46.6% smaller 8K High 40.6% smaller |
| Host integration checks (1.0.0) AE 2025 import (1080p30 + 1 PCM) Resolve SDK, 120 preloaded 4K frames |
AE imported 7/7 fixture types SDK 607.39–1,173.13 ms |
SDK from plug-in open to native file close | 197.6 fps Edit 4:2:2 Three-run median |
*The WebDataset step includes writing, reading, and removing a temporary EXR file. ZXF2 and native EXR each used eight decode threads.
.zxi and layered .zxil. Supported raster layers retain names, offsets, visibility, opacity, 23 blend modes, and straight RGBA.--preserve-exact-container restored the original bytes from a 24,678,269 B archive.I toggles the overlay). QuickLook lists a separate ZX preview plug-in. Explorer converts to DNG or ProRes 4444 MOV. Scripts install, update, or uninstall the tools.docs/distribution.md).python -m pip install zx-codec==1.0.1
@techreport{xie2026zxcodec,
title = {ZX Codec 1.0: Lossless Image and Channel Coding and All-Intra Video for AI Training and Creative Workflows},
author = {Xie, Zheng}, year = {2026}, month = dec, institution = {VARIABLE 7},
url = {https://github.com/7owel/ZX-Codec}, note = {Version 1.0.1 Technical Report}
}