iz: New fast lossless RGB photo compression
Hi all, I finally managed to release a first preview of "iz" (ImageZero). Here some key stats:
- should be similar in speed as "arc a -mmm:3*8+1xb"
- compression rate similar to PNG for "good" photos
- BSD license
Caveats:
- only designed for 24 bit RGB natural photos
- compression of artificial images or very noisy images is bad
- no grayscale mode
- currently writes in machine-depended byte order, so files are not portable (they lack a header for now, anyway)
Some technical details:
- 3-pixel predictor
- single context value
- static Huffman tables (1 ... 6 bits per RGB pixel to encode context delta)
- branchless design (there is only one branch for the per-pixel loop, and one branch in the bitcoder to flush bitcache to memory)
More information:
I am very interested in any kind of feedback, since I am new to this forum. Thanks, Christoph
2 Attachment(s)
Problems using that iz.exe.zip
I can't seem to ge a PBM/PNM binary encoded I get "can only compress 24 bit binary PPM files" here is an attachment I triedAttachment 1828and GBMtools
says
#>gbmhdr RGB_OR_1200x1200_082.ppm
1200x1200 24bpp 4219Kb 100% Pixmap RGB_OR_1200x1200_082.ppm
imagemagick identify says same thing, and Image Alchemy says (affter I renamed it, its a DOS program) that
Reading Portable BitMap file R1.PNM
File Name: R1.PNM
Width x Height: 1200 x 1200
Number of Colours: True Colour (24 bits)
Raw size: 4320000 Actual size: 4320017 (Compression ratio: 1:1)