jpg/jpeg lossless image compression test


File type : JPG image (1152x864 pixels / 16.7 million colors)
# of files to compress in this test : 1
Total File Size (bytes) : 842,468
Sample of data :

Sample image lossless jpeg compression

Conclusion: JPEG/JPG (and also MP3, avi etc) files are typically very hard to compress. Because of their pre-compressed nature they include a lot of unique information and don't repeat many patterns. The 4th best program in this test, WinRK, only compresses it by 3.5%. Interesting to see some programs do not include a check to see if the 'compressed' file is bigger then the original one.

The big exception to the rule are PAQ8, PackJPG and Allume's (now Smith Micro) StuffIt compressor. StuffIt and PAQ8 compress the a10.jpg test-file lossless from 842468 to under 639000 bytes (24%). These programs remind me of Isaac Dimitrovsky's gifblast program used back in the BBS (bulletin board system) days. Gifblast had a small problem where the compressed and decompressed GIF would not always be byte-for-byte identical to the original GIF file (a flaw not found in Stuffit, PackJPG and PAQ7/8). Truly remarkable. So, if you have a large JPG collection and want to store them using the least disk/tape space possible, StuffIt is your program if you are looking for a GUI driven program, PAQ8 or PackJPG if you need a command-line one.

The main trick those three programs use is (partially) decode the image back to the DCT coefficients and recompress them with a much better algorithm then default Huffman coding.

Number of different compressors/archivers listed in this test: 207


Pos. Name Compressor Best switches combination Compressed Compress Bits per
  Size Ratio Byte
  (bytes) (%) (b/B)
001PAQ8O10-763813124.25 6.0596
002STUFFIT 12.0JPEG63857524.20 6.0639
003PackJPG 2.3(none)69782217.17 6.6265
004WinRK 3.0.3PWCM 912MB BS=228125563.55 7.7160
005Ocamyd 1.66test1-m9 -s08143613.34 7.7331
006RINGS 1.5c18191502.77 7.7786
007LPAQ888230052.31 7.8152
008CTW 0.1-n16M -b512 -k8247832.10 7.8321
009BEE 0.7.9-m3 -d48248832.09 7.8330
010PAQAR 4.5-88253302.03 7.8373
011UHBC 1.0-m3 -cf8271101.82 7.8542
012QLFC 6.6w(none)8274851.78 7.8577
013BBB ver1(none)8278341.74 7.8610
014ABC 2.4-cv8282001.69 7.8645
015M99 2.1-m8282511.69 7.8650
016ENC 0.15abe -o4 -d1568282921.68 7.8654
017DGCA 1.10(none)8289601.60 7.8717
018DCGA b8(none)8289601.60 7.8717
019Quark 0.95r-d08292181.57 7.8742
020EPM r9c00289966399794050555533 -m9128292431.57 7.8744
021PPMonstr J rev.1-o9 -m1288293591.56 7.8755
022DURILCA 0.5-o48294251.55 7.8761
023BMA 1.34b-pe8294401.55 7.8763
024MNZIP98295981.53 7.8778
025ERI 5.1fre(none)8297841.51 7.8796
026CMM4 0.1e068298321.50 7.8800
027777 0.04b1-m5 -mu328298981.49 7.8806
028UFA 0.04b1-m5 -mu328298981.49 7.8806
029PIMPLE2(none)8299401.49 7.8810
030AI 1.1-m48300041.48 7.8816
031YBS 0.03f(none)8300051.48 7.8817
032SLIM 0.23d-o78303761.44 7.8852
033TC 5.2 dev2(none)8305411.42 7.8867
034QAZAR 0.0pre5-x7 -l7 -f8309291.37 7.8904
035GCA 0.9k(none)8309741.36 7.8909
036BSSC 0.95a-fez8311431.34 7.8925
037CHILE 0.5(none)8311551.34 7.8926
038GRZIP 0.7.3(none)8311781.34 7.8928
0397-Zip 4.58b-m0=lzma:a=1:d=0:lc=8:LP0:PB0:mf=bt28315541.30 7.8964
040SBC 0.970 rev3-b18316881.28 7.8976
041M03(none)8318111.26 7.8988
042SQUEEZ 5.5-m58318541.26 7.8992
043DC 0.99.307b(none)8319301.25 7.8999
044RK 1.04.1-mx1 -M52 -B200008324081.19 7.9045
045CCM 1.30cCMMx -68324811.19 7.9052
046COMPRESSIA 1.0bBS15 SE8327791.15 7.9080
047PPMY SSE (9A9)/o2 /m28331751.10 7.9118
048DARK 0.51(none)8331831.10 7.9118
049LZAP 0.20.0b(none)8331931.10 7.9119
050ZZIP 0.36c(none)8333331.08 7.9133
051PPMd rev J-o18333361.08 7.9133
052PPMVC 1.2-o28333651.08 7.9136
053HOOK 1.31028336261.05 7.9160
054PIM 2.10(none)8337711.03 7.9174
055BOA 0.58b-m158339891.01 7.9195
056GRZipII 0.2.4(none)8342100.98 7.9216
057TURTLE 0.07(none)8346650.93 7.9259
058WinTurtle 1.6.0(none)8347240.92 7.9265
059LZPM 0.1538348800.90 7.9279
060PPMN 1.00b1 km-O5 -M:508349360.89 7.9285
061LZPX(J) 1.2h-18350220.88 7.9293
062BA 1.01-m8350730.88 7.9298
063RKC 1.02-M912m -o2 -mx8359410.77 7.9380
064BWIC(none)8360600.76 7.9392
065RZM 0.07h(none)8360910.76 7.9394
066PPMZ 9.1-r -b8362210.74 7.9407
067MARbwt -g8363040.73 7.9415
068BALZ 1.07e8363750.72 7.9421
069DACT 0.8.41-b9000008363900.72 7.9423
070FlashZIP 0.0318364180.72 7.9425
071BZIP2 1.0.5-98364680.71 7.9430
072RZIP 2.1-78364870.71 7.9432
073PAC 17apr2004comp38365090.71 7.9434
074EXP 1.0(none)8365390.70 7.9437
075PAR 2.00(none)8366320.69 7.9446
076WinHKI 1.74HKI1 Max8366340.69 7.9446
077RKUC 1.04-o28367480.68 7.9457
078X1 0.95aam78368340.67 7.9465
079IMP 1.12-28369300.66 7.9474
080WINIMP 1.21M2, Block 1020,SUS 16 Mb8369300.66 7.9474
081BAR 1.1.2(none)8370880.64 7.9489
082ASH 04a/s1 /m9128372200.62 7.9502
083FreeARC 0.50a-m=grzip:d:a:l:m38375040.59 7.9529
084HuffComp 1.3(none)8378300.55 7.9560
085UHARC 0.6b-mx -md-8380210.53 7.9578
086LZTurbo 0.92-568384650.48 7.9620
087BICOM 1.01(none)8384860.47 7.9622
088CTXf 0.75 b1(none)8385100.47 7.9624
089DLC 0.6.1(none)8387920.44 7.9651
090WinRAR 3.71-ep -m5 -mdA -mc2:128t+8392130.39 7.9691
091WINZIP 11.0PPMd8394400.36 7.9712
092SR3a(none)8394930.35 7.9717
093ARB255 20010822(none)8395460.35 7.9723
094ICEOWS 4.20bLess8395690.34 7.9725
095SZIP 1.12-b12o08397520.32 7.9742
096DCA 1.0.1bBest8397690.32 7.9744
097RKIVE 1.92-p0 -mt3 -mm18400580.29 7.9771
098KZIP 14-APR-2007/b1008400830.28 7.9774
099BJWFLATE 1.54-n -s648400950.28 7.9775
100ARHANGEL 1.40-mo08403130.26 7.9795
101ACB 2.00cu8405400.23 7.9817
102OrangeArchiver 1.05(none)8407110.21 7.9833
103DST 0.91b-38408570.19 7.9847
104ARJ 2.84-jm -e -jh655358409480.18 7.9856
105CABARC 1.00.0106-m LZX:208410080.17 7.9861
106ZIP 2.2-38410180.17 7.9862
107ARI 2.2-c8411510.16 7.9875
108TRANSFORM 1.02Very Low8412360.15 7.9883
109HIT 2.10(none)8413100.14 7.9890
110SEMONE 0.6(none)8414180.12 7.9900
111ASD 0.2.0-m6 -mdg -rs9 -rh18414310.12 7.9902
112GZIP 1.3.5-98414620.12 7.9904
113LHA 2.67(none)8414800.12 7.9906
114BZIP 0.21(none)8414830.12 7.9906
115ZET 0.10b-es8414830.12 7.9906
116ALZip 7.0Normal8414970.12 7.9908
117DZIP 2.90-38415230.11 7.9910
118AMG 2.2Max compression8415320.11 7.9911
119WINZIP 8.0(Max Compression)8415490.11 7.9913
120LHA32 1.88.3.14-je327688415490.11 7.9913
121ARX 1.0(none)8415650.11 7.9914
122ELI 5750(none)8415710.11 7.9915
123LHARK 0.4d-tt8415750.11 7.9915
124ABCOMP 2.06(none)8415850.10 7.9916
125THOR 0.96e48417800.08 7.9935
126CODER 1.1-ea 500008418090.08 7.9937
127WIN-GZ 1.2(None)8418160.08 7.9938
128Windows XP built-in(none)8419100.07 7.9947
129vuZIP 1.8Maximum8419100.07 7.9947
130File2Pack 2.0(none)8419270.06 7.9949
131EAZEL 1.0(best)8419400.06 7.9950
132SHcodec 1.0.1(none)8419490.06 7.9951
133BSA 2.00-+08420020.06 7.9956
134Chaos Comp 3.0(none)8420130.05 7.9957
135 BCArchive 1.08.7(none)8420800.05 7.9963
136LZ2ACb148422570.03 7.9980
137RAX 1.02-m78423570.01 7.9989
138PKZIP 2.50-ex8424030.01 7.9994
139HIPP 0.5819/so16 /o48424650.00 8.0000
140SAR 1.0(none)8424650.00 8.0000
141AR 1.0(none)8424650.00 8.0000
142JCALG1 5.32(none)8424680.00 8.0000
143A10.jpg8424680.00 8.0000
144LZRW1(none)842476-0.00 8.0001
145BigCrunch 0.4a1(none)842486-0.00 8.0002
146HYPER 2.5(none)842497-0.00 8.0003
147HA 0.999ba21842501-0.00 8.0003
148LGHA 1.1g-1842501-0.00 8.0003
149BIT 0.1(none)842501-0.00 8.0003
150PROPACK 2.19-m1842504-0.00 8.0003
151PSA 0.91a(none)842510-0.00 8.0004
152HPACK 0.79a0(none)842511-0.01 8.0004
153LIMIT 1.2-mx842519-0.01 8.0005
154HAP 3.06(none)842523-0.01 8.0005
155ESP 1.92/M4842523-0.01 8.0005
156PAQUE 1.00(none)842524-0.01 8.0005
157BIX 1.00b7(none)842533-0.01 8.0006
158BioArc 1.9Hyper Auto842552-0.01 8.0008
159ACE 2.04-c2-842563-0.01 8.0009
160WinACE 2.69Max 4096Kb842563-0.01 8.0009
161LZOP 1.02rc1(none)842565-0.01 8.0009
162Archiver 1.0Dict=1M842576-0.01 8.0010
163SHRINK 1.2(none)842580-0.01 8.0011
164CODEC 3.21-c10842580-0.01 8.0011
165ZOO 2.1ah842601-0.02 8.0013
166AKT 1.00a3(none)842717-0.03 8.0024
167LZA 1.01/C0842725-0.03 8.0024
168REDUQ 1.2(none)842752-0.03 8.0027
169QuickLZ 1.40b9mode1842758-0.03 8.0028
170SLUG 1.27b(none)842939-0.06 8.0045
171TarsaLZP 21Aug2007(none)843103-0.08 8.0060
172YAC 1.02(none)843138-0.08 8.0064
173Shindlet(none)843157-0.08 8.0065
174AIN 2.32/m1843281-0.10 8.0077
175UC II v3.05b-TT843366-0.11 8.0085
176DeepFreezer 1.06(none)843485-0.12 8.0097
177EXTREME 1.06-t3843684-0.14 8.0115
178SQUISH 1.0(none)844355-0.22 8.0179
179JAR 1.02-m4844735-0.27 8.0215
180QUANTUM 0.97-t20845301-0.34 8.0269
181PACKET 0.01(none)845534-0.36 8.0291
182Tornado 0.4-4845910-0.41 8.0327
183QC 0.050(none)847302-0.57 8.0459
184ShipInBottle 1.0 b17alg:ppm len:1849452-0.83 8.0663
185LZDS v2.1-s1024 -m3850061-0.90 8.0721
186LCSSR 0.2-l3850396-0.94 8.0753
187SYMBRA 0.2-m1850438-0.95 8.0757
188Secura 1.7(none)851516-1.07 8.0859
189Quad 1.12x853520-1.31 8.1049
190ZAP32 0.15.0b-1858431-1.89 8.1516
191BWTZIP(none)865622-2.75 8.2199
192RDMC 0.06c(none)867839-3.01 8.2409
19312Ghosts 7.0(none)874546-3.81 8.3046
194PPMZ2 0.81(none)876221-4.01 8.3205
195BruteCM 0.1d(none)888017-5.41 8.4325
196PPMT 0.1(none)903097-7.20 8.5757
197NNTCP5908791-7.87 8.6298
198LZC 0.0810911141-8.15 8.6521
199LZXQ 0.4extreme913051-8.38 8.6702
200HiP beta 11914731-8.58 8.6862
201aPLib 0.43(none)920169-9.22 8.7378
202XPA 1.0.2(none)920226-9.23 8.7384
203CA-ZIP 3.4(none)939602-11.53 8.9224
204BriefLZ 1.04(none)946960-12.40 8.9922
205LZ 1.0(none)947263-12.44 8.9951
206BVI 1.70-m51041070-23.57 9.8859
207SRANK 1.0(none)1167742-38.61 11.0888
208LCW 0.2-l31189360-41.18 11.2941

Show historic data

Lossless data compression ratio's of the best and some well know compression programs for an JPG image file Next Test Home Previous Test


©2003-2008 MaximumCompression (lossless data compression software benchmarks)