PML (Portable Middle Link) is a lossy raster image compression format created as a compromise between the perfectly accurate PNG and traditional JPEG.
0
3 commits
updated Sep 20, 2026
PML (Portable Middle Link) is a lossy raster image compression format created as a compromise between the perfectly accurate PNG and traditional JPEG.
The compression pipeline consists of five steps: YCbCr Color Space: Separating the signal into luma (Y) and chroma (Cb, Cr) components. Chroma Subsampling (4:2:0): Reducing the resolution of the chroma channels by a factor of 2. Linear Quantization: Truncating noise with step=4 for Y and step=8 for Cb/Cr. Sub-filtering: Calculating horizontal differences between adjacent pixels to transform the raster into an array of zeros. DEFLATE Compression: Independent channel packaging via the zlib algorithm with a 20-byte header.
3 commits
PML (Portable Middle Link) is a lossy raster image compression format created as a compromise between the perfectly accurate PNG and traditional JPEG.
0
3 commits
updated Sep 20, 2026
PML (Portable Middle Link) is a lossy raster image compression format created as a compromise between the perfectly accurate PNG and traditional JPEG.
The compression pipeline consists of five steps: YCbCr Color Space: Separating the signal into luma (Y) and chroma (Cb, Cr) components. Chroma Subsampling (4:2:0): Reducing the resolution of the chroma channels by a factor of 2. Linear Quantization: Truncating noise with step=4 for Y and step=8 for Cb/Cr. Sub-filtering: Calculating horizontal differences between adjacent pixels to transform the raster into an array of zeros. DEFLATE Compression: Independent channel packaging via the zlib algorithm with a 20-byte header.
3 commits