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: 229


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