TX2-IFF (Involuted Fractal Format)
TX2-IFF is a next-generation image compression codec built on the principles of Physics-Prime Factorization (PPF) and Symplectic Geometry. It is designed to achieve high compression ratios for complex, high-entropy images by storing the generators of the image content rather than the content itself.
Key Features
- Symplectic Compression: Uses symplectic warp fields to model geometric deformations.
- Physics-Prime Factorization: Utilizes "360-Prime" quantization tables derived from the factors of 360 ($23 \times 32 \times 5$).
- Three-Layer Architecture:
- Wavelet Skeleton: CDF 5/3 biorthogonal wavelets in YCoCg-R color space (4:2:0 subsampled).
- Texture Flesh: Procedural synthesis for high-entropy regions using PPF noise.
- Warp Field: Sparse symplectic vectors for geometric coherence.
- Zstd Residuals: Efficient compression of residual data using Zstd.
- GPU Acceleration: WGPU-based decoder for fast reconstruction.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
Encoding
use ;
use Reader as ImageReader;
Decoding
use IffImage;
use ;
Viewer
This crate includes a viewer binary that uses tx2-core to display .iff files.
License
MIT