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


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