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 5th 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, WinZIP 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, WinZIP 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, WinZIP or 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: 225


Current Version Previous Version
Pos. Name Compressor Best switch combination Size
(bytes)
Ratio
(%)
Bits per Byte (b/B) Name Size
(bytes)
Delta
(bytes)
001PAQ8PX-763712424.37 6.0501 PAQ8P6381301006
002STUFFIT 14Auto filetype63854424.21 6.0636 STUFFIT 12.063857531
003PackJPG 2.4(none)68043019.23 6.4613 PackJPG 2.369782217392
004WINZIP 14Best Method69195317.87 6.5707 WINZIP 126919552
005WinRK 3.1.2MAX (PWCM)8127003.53 7.7173 WinRK 3.0.3812556-144
006NanoZip 0.08a-cc -m128m8132313.47 7.7224 NanoZip 0.07a813074-157
007Ocamyd 1.66test1-m9 -s08143613.34 7.7331 Ocamyd 1.66 final81437110
008RINGS 1.618191452.77 7.7785 RINGS 1.5c8191505
009BWMonstr 0.02(none)8203092.63 7.7896 BWMonstr 0.01820933624
010ZPAQ 1.10max.cfg 28224302.38 7.8097 ZPAQ 1.00822585155
011LPAQ888230052.31 7.8152 LPAQ7822980-25
012CTW 0.1-n16M -b512 -k8247832.10 7.8321    
013BEE 0.7.9-m3 -d48248832.09 7.8330 BEE 0.7.7b84255417671
014PAQAR 4.5-88253302.03 7.8373 PAQAR 4.1824267-1063
015Blizzard 0.24b(none)8254132.02 7.8380    
016BCM 0.11(none)8254142.02 7.8381 BCM 0.10826188774
017BSC 2.2.5-m18266431.88 7.8497 BSC 1.0.2825216-1427
018UHBC 1.0-m3 -cf8271101.82 7.8542    
019QLFC 6.6w(none)8274851.78 7.8577    
020BBB ver1(none)8278341.74 7.8610    
021ABC 2.4-cv8282001.69 7.8645    
022M99 2.2.1-m8282521.69 7.8650 M99 2.1828251-1
023ENC 0.15abe -o4 -d1568282921.68 7.8654    
024CMM4 0.2b068283441.68 7.8659 CMM4 0.1e8298321488
025DCGA b8(none)8289601.60 7.8717    
026DGCA 1.10(none)8289601.60 7.8717 DGCA 1.088289600
027Quark 0.95r-d08292181.57 7.8742 Quark 0.938304371219
028EPM r9c00289966399794050555533 -m9128292431.57 7.8744 EPM r8829538295
029PPMonstr J rev.1-o9 -m1288293591.56 7.8755 PPMonstr Ir18309751616
030BIT 0.7-p=58293881.55 7.8758 BIT 0.38341764788
031BMA 1.35b-m16m -a -z-8294061.55 7.8760 BMA 1.34b82944034
032DURILCA 0.5-o48294251.55 7.8761 DURILCA 0.4b8327263301
033MNZIP98295981.53 7.8778    
034LZTurbo 0.95-508296551.52 7.8783 LZTurbo 0.928384658810
035BZP 0.3(none)8296961.52 7.8787    
036ERI 5.1fre(none)8297841.51 7.8796    
037UFA 0.04b1-m5 -mu328298981.49 7.8806    
038777 0.04b1-m5 -mu328298981.49 7.8806    
039PIMPLE2(none)8299401.49 7.8810 PIMPLE 1.43b830362422
040AI 1.1-m48300041.48 7.8816    
041YBS 0.03f(none)8300051.48 7.8817    
042SLIM 0.23d-o78303761.44 7.8852 SLIM 00228316211245
043TC 5.2 dev2(none)8305411.42 7.8867 TC 5.1 dev7830453-88
044QAZAR 0.0pre5-x7 -l7 -f8309291.37 7.8904 QAZAR 0.0pre4d84188610957
045GCA 0.9k(none)8309741.36 7.8909    
046BSSC 0.95a-fez8311431.34 7.8925 BSSC 0.93a831838695
047CHILE 0.5(none)8311551.34 7.8926 CHILE 0.3d831719564
048GRZIP 0.7.3(none)8311781.34 7.8928    
0497-Zip 9.15-m0=lzma:a=1:d=0:lc=8:LP0:PB0:mf=bt28315541.30 7.8964 7-Zip 9.108315540
050SBC 0.970 rev3-b18316881.28 7.8976    
051M03(none)8318111.26 7.8988    
052SQUEEZ 5.63-m5 -MD32768 -uxx3 -bc8318461.26 7.8991 SQUEEZ 4.284254710701
053Ultra7z Opt 0.05(none)8319161.25 7.8998    
054DC 0.99.307b(none)8319271.25 7.8999    
055FlashZIP 0.99b8(none)8321451.23 7.9020 FlashZIP 0.94832124-21
056YZX 0.04(none)8321471.23 7.9020    
057RK 1.04.1-mx1 -M52 -B200008324081.19 7.9045    
058CCM 1.30cCMMx -68324811.19 7.9052 CCM 1.26b831333-1148
059COMPRESSIA 1.0bBS15 SE8327791.15 7.9080    
060PPMY SSE (9A9)/o2 /m28331751.10 7.9118    
061DARK 0.51(none)8331831.10 7.9118 DARK 0.50c833388205
062LZAP 0.20.0b(none)8331931.10 7.9119    
063ZZIP 0.36c(none)8333331.08 7.9133    
064PPMd rev J-o18333361.08 7.9133 PPMd I rev 18390095673
065PPMVC 1.2-o28333651.08 7.9136 PPMVC 1.183337914
066PIM 2.90(none)8337711.03 7.9174 PIM 2.108337710
067BOA 0.58b-m158339891.01 7.9195    
068GRZipII 0.2.4(none)8342100.98 7.9216    
069FreeARC 0.666-m4t8344370.95 7.9237 FreeARC 0.608375163079
070M1 0.3btext2 profile8345590.94 7.9249 M1 0.1a8369682409
071TURTLE 0.07(none)8346650.93 7.9259    
072WinTurtle 1.6.0(none)8347240.92 7.9265 WinTurtle 1.3.0834704-20
073PPMN 1.00b1 km-O5 -M:508349360.89 7.9285    
074LZPX(J) 1.2h-18350220.88 7.9293 LZPX(J) 1.2g835600578
075BA 1.01-m8350730.88 7.9298    
076RKC 1.02-M912m -o2 -mx8359410.77 7.9380    
077BWIC(none)8360600.76 7.9392    
078RZM 0.07h(none)8360910.76 7.9394 RZM 0.04836229138
079PPMZ 9.1-r -b8362210.74 7.9407    
080MARbwt -g8363040.73 7.9415    
081BALZ 1.15e8363210.73 7.9416 BALZ 1.13835668-653
082PACKET 0.91a-m6 -s08363490.73 7.9419 PACKET 0.90b833134-3215
083DACT 0.8.41-b9000008363900.72 7.9423    
084BZIP2 1.0.5-98364680.71 7.9430 BZIP2 1.0.38364680
085RZIP 2.1-78364870.71 7.9432 RZIP 2.08384521965
086PAC 17apr2004comp38365090.71 7.9434    
087EXP 1.0(none)8365390.70 7.9437    
088LZPM 0.16e8365520.70 7.9438 LZPM 0.15834880-1672
089PAR 2.00(none)8366320.69 7.9446    
090WinHKI 1.74HKI1 Max8366340.69 7.9446 WinHKI 1.3g8366340
091RKUC 1.04-o28367480.68 7.9457    
092X1 0.95aam78368340.67 7.9465 X1 0.94h8368340
093WINIMP 1.21M2, Block 1020,SUS 16 Mb8369300.66 7.9474    
094IMP 1.12-28369300.66 7.9474    
095BAR 1.1.2(none)8370880.64 7.9489    
096HuffComp 1.3(none)8378300.55 7.9560    
097UHARC 0.6b-mx -md-8380210.53 7.9578 UHARC 0.5838417396
098BICOM 1.01(none)8384860.47 7.9622    
099CTXf 0.75 b1(none)8385100.47 7.9624    
100DLC 0.6.1(none)8387920.44 7.9651    
101WinRAR 3.91-ep -m5 -mdA -mc2:128t+8392130.39 7.9691 WinRAR 3.628392130
102SR3a(none)8394930.35 7.9717 SR38394963
103ARB255 20010822(none)8395460.35 7.9723    
104ICEOWS 4.20bLess8395690.34 7.9725    
105SZIP 1.12-b12o08397520.32 7.9742 SZIP 1.10833697-6055
106DCA 1.0.1bBest8397690.32 7.9744    
107RKIVE 1.92-p0 -mt3 -mm18400580.29 7.9771    
108KZIP 14-APR-2007/b1008400830.28 7.9774 KZIP 11-OCT-20068400830
109BJWFLATE 1.54-n -s648400950.28 7.9775    
110ARHANGEL 1.40-mo08403130.26 7.9795    
111ACB 2.00cu8405400.23 7.9817    
112OrangeArchiver 1.05(none)8407110.21 7.9833    
113DST 0.91b-38408570.19 7.9847    
114ARJ 2.85-jm -e -jh655358409430.18 7.9855 ARJ 2.82b1840923-20
115CABARC 1.00.0106-m LZX:208410080.17 7.9861    
116ZIP 2.2-38410180.17 7.9862    
117ARI 2.2-c8411510.16 7.9875    
118TRANSFORM 1.02Very Low8412360.15 7.9883    
119HIT 2.10(none)8413100.14 7.9890    
120SEMONE 0.6(none)8414180.12 7.9900    
121ASD 0.2.0-m6 -mdg -rs9 -rh18414310.12 7.9902 ASD 0.1.5944720103289
122GZIP 1.3.5-98414620.12 7.9904 GZIP 1.2.4842397935
123LHA 2.67(none)8414800.12 7.9906    
124ZET 0.10b-es8414830.12 7.9906    
125BZIP 0.21(none)8414830.12 7.9906    
126ALZip 7.0Normal8414970.12 7.9908 ALZip 6.32841787290
127DZIP 2.90-38415230.11 7.9910    
128AMG 2.2Max compression8415320.11 7.9911    
129WINZIP 8.0(Max Compression)8415490.11 7.9913    
130LHA32 1.88.3.14-je327688415490.11 7.9913    
131ARX 1.0(none)8415650.11 7.9914    
132ELI 5750(none)8415710.11 7.9915    
133LHARK 0.4d-tt8415750.11 7.9915    
134ABCOMP 2.06(none)8415850.10 7.9916    
135Etincelle RC2(none)8416000.10 7.9918 Etincelle beta4842436836
136Zhuff 0.2(none)8416100.10 7.9919    
137THOR 0.96e48417800.08 7.9935 THOR 0.958417800
138CODER 1.1-ea 500008418090.08 7.9937    
139WIN-GZ 1.2(None)8418160.08 7.9938    
140vuZIP 1.8Maximum8419100.07 7.9947    
141Windows XP built-in(none)8419100.07 7.9947    
142File2Pack 2.0(none)8419270.06 7.9949    
143EAZEL 1.0(best)8419400.06 7.9950    
144SHcodec 1.0.1(none)8419490.06 7.9951    
145BSA 2.00-+08420020.06 7.9956    
146Chaos Comp 3.0(none)8420130.05 7.9957    
147 BCArchive 1.08.7(none)8420800.05 7.9963 BCArchive 1.00b842072-8
148LZ2ACb148422570.03 7.9980    
149RAX 1.02-m78423570.01 7.9989    
150PKZIP 2.50-ex8424030.01 7.9994 PKZIP 2.06842300-103
151HOOK 1.41028424150.01 7.9995 HOOK 1.3833626-8789
152HIPP 0.5819/so16 /o48424650.00 8.0000    
153SAR 1.0(none)8424650.00 8.0000    
154AR 1.0(none)8424650.00 8.0000    
155A10.jpg8424680.00 8.0000    
156JCALG1 5.32(none)8424680.00 8.0000    
157LZRW1(none)842476-0.00 8.0001    
158BigCrunch 0.4a1(none)842486-0.00 8.0002    
159HYPER 2.5(none)842497-0.00 8.0003    
160HA 0.999ba21842501-0.00 8.0003    
161LGHA 1.1g-1842501-0.00 8.0003    
162PROPACK 2.19-m1842504-0.00 8.0003    
163PSA 0.91a(none)842510-0.00 8.0004    
164HPACK 0.79a0(none)842511-0.01 8.0004    
165LIMIT 1.2-mx842519-0.01 8.0005    
166HAP 3.06(none)842523-0.01 8.0005    
167ESP 1.92/M4842523-0.01 8.0005 ESP 1.9843261738
168PAQUE 1.00(none)842524-0.01 8.0005    
169BIX 1.00b7(none)842533-0.01 8.0006    
170BioArc 1.9Hyper Auto842552-0.01 8.0008    
171WinACE 2.69Max 4096Kb842563-0.01 8.0009 WINACE 2.6b18425630
172ACE 2.6-c2-842563-0.01 8.0009 ACE 2.048425630
173LZOP 1.02rc1(none)842565-0.01 8.0009    
174Archiver 1.0Dict=1M842576-0.01 8.0010    
175CODEC 3.21-c10842580-0.01 8.0011    
176SHRINK 1.2(none)842580-0.01 8.0011    
177ZOO 2.1ah842601-0.02 8.0013    
178AKT 1.00a3(none)842717-0.03 8.0024    
179LZA 1.01/C0842725-0.03 8.0024    
180REDUQ 1.2(none)842752-0.03 8.0027    
181QuickLZ 1.40b9mode1842758-0.03 8.0028 QuickLZ 1.40b68427580
182QPress 0.38b-L1842890-0.05 8.0040 QPress 0.35b8428900
183TarsaLZP 21Aug2007(none)843103-0.08 8.0060 TarsaLZP 07Aug200788445641353
184YAC 1.02(none)843138-0.08 8.0064    
185Shindlet(none)843157-0.08 8.0065    
186SLUG X(none)843175-0.08 8.0067 SLUG 1.27b842939-236
187AIN 2.32/m1843281-0.10 8.0077    
188UC II v3.05b-TT843366-0.11 8.0085    
189CSC 3.2a6-dk128843482-0.12 8.0096 CSC 3.1831630-11852
190DeepFreezer 1.06(none)843485-0.12 8.0097    
191EXTREME 1.06-t3843684-0.14 8.0115    
192SQUISH 1.0(none)844355-0.22 8.0179    
193JAR 1.02-m4844735-0.27 8.0215    
194QUANTUM 0.97-t20845301-0.34 8.0269 QUANTUM 0.96845752451
195LZBW1 0.8(none)845322-0.34 8.0271    
196LZP2 0.7d(none)845488-0.36 8.0287 LZP284556173
197Tornado 0.4a-4845902-0.41 8.0326 Tornado 0.48459108
198QC 0.050(none)847302-0.57 8.0459 QC 0.033843400-3902
199ULZ 0.0.2c4848521-0.72 8.0575    
200ShipInBottle 1.0 b17alg:ppm len:1849452-0.83 8.0663 ShipInBottle 1.0 b16849450-2
201ASH 07/o400 /m912 /e849591-0.85 8.0676 ASH 06a849578-13
202PPMX 0.05(none)849607-0.85 8.0678    
203LZDS v2.1-s1024 -m3850061-0.90 8.0721    
204LCSSR 0.2-l3850396-0.94 8.0753    
205SYMBRA 0.2-m1850438-0.95 8.0757    
206Secura 1.7(none)851516-1.07 8.0859    
207Quad 1.12x853520-1.31 8.1049 Quad 1.07b8535222
208ZAP32 0.15.0b-1858431-1.89 8.1516    
209BWTZIP(none)865622-2.75 8.2199    
210RDMC 0.06c(none)867839-3.01 8.2409    
21112Ghosts 7.0(none)874546-3.81 8.3046    
212PPMZ2 0.81(none)876221-4.01 8.3205 PPMZ2 0.8869292-6929
213BruteCM 0.1d(none)888017-5.41 8.4325 BruteCM 0.1a859712-28305
214PPMT 0.1(none)903097-7.20 8.5757    
215NNTCP5908791-7.87 8.6298    
216LZC 0.0810911141-8.15 8.6521 LZC 0.06911131-10
217LZXQ 0.4extreme913051-8.38 8.6702 LZXQ 0.1887440-25611
218HiP beta 11914731-8.58 8.6862    
219aPLib 0.43(none)920169-9.22 8.7378    
220XPA 1.0.2(none)920226-9.23 8.7384    
221CA-ZIP 3.4(none)939602-11.53 8.9224    
222BriefLZ 1.04(none)946960-12.40 8.9922    
223LZ 1.0(none)947263-12.44 8.9951    
224BVI 1.70-m51041070-23.57 9.8859    
225SRANK 1.0(none)1167742-38.61 11.0888    
226LCW 0.2-l31189360-41.18 11.2941    

Hide 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-2009 MaximumCompression (lossless data compression software benchmarks)