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


Pos. Name Compressor Best switches combination Compressed Compress Bits per
  Size Ratio Byte
  (bytes) (%) (b/B)
001PAQ8PX-763712424.37 6.0501
002STUFFIT 12.0JPEG63857524.20 6.0639
003WINZIP 12Optimize69195517.87 6.5707
004PackJPG 2.3(none)69782217.17 6.6265
005WinRK 3.1.2MAX (PWCM)8127003.53 7.7173
006NanoZip 0.06a-cc -m128m8130743.49 7.7209
007Ocamyd 1.66test1-m9 -s08143613.34 7.7331
008RINGS 1.5c18191502.77 7.7786
009BWMonstr 0.01(none)8209332.56 7.7955
010ZPAQ 1.00max.cfg8225852.36 7.8112
011LPAQ888230052.31 7.8152
012CTW 0.1-n16M -b512 -k8247832.10 7.8321
013BEE 0.7.9-m3 -d48248832.09 7.8330
014BCM 0.07(none)8249212.08 7.8334
015PAQAR 4.5-88253302.03 7.8373
016Blizzard 0.24b(none)8254132.02 7.8380
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
033BZP 0.3(none)8296961.52 7.8787
034ERI 5.1fre(none)8297841.51 7.8796
035777 0.04b1-m5 -mu328298981.49 7.8806
036UFA 0.04b1-m5 -mu328298981.49 7.8806
037PIMPLE2(none)8299401.49 7.8810
038AI 1.1-m48300041.48 7.8816
039YBS 0.03f(none)8300051.48 7.8817
040SLIM 0.23d-o78303761.44 7.8852
041TC 5.2 dev2(none)8305411.42 7.8867
042QAZAR 0.0pre5-x7 -l7 -f8309291.37 7.8904
043GCA 0.9k(none)8309741.36 7.8909
044BSSC 0.95a-fez8311431.34 7.8925
045CHILE 0.5(none)8311551.34 7.8926
046GRZIP 0.7.3(none)8311781.34 7.8928
0477-Zip 4.65-m0=lzma:a=1:d=0:lc=8:LP0:PB0:mf=bt28315541.30 7.8964
048SBC 0.970 rev3-b18316881.28 7.8976
049M03(none)8318111.26 7.8988
050SQUEEZ 5.61-m5 -MD32768 -uxx3 -bc8318461.26 7.8991
051Ultra7z Opt 0.05(none)8319161.25 7.8998
052DC 0.99.307b(none)8319271.25 7.8999
053FlashZIP 0.94(none)8321241.23 7.9018
054RK 1.04.1-mx1 -M52 -B200008324081.19 7.9045
055CCM 1.30cCMMx -68324811.19 7.9052
056COMPRESSIA 1.0bBS15 SE8327791.15 7.9080
057PACKET 0.90b-m4 -s08331341.11 7.9114
058PPMY SSE (9A9)/o2 /m28331751.10 7.9118
059DARK 0.51(none)8331831.10 7.9118
060LZAP 0.20.0b(none)8331931.10 7.9119
061ZZIP 0.36c(none)8333331.08 7.9133
062PPMd rev J-o18333361.08 7.9133
063PPMVC 1.2-o28333651.08 7.9136
064PIM 2.90(none)8337711.03 7.9174
065BOA 0.58b-m158339891.01 7.9195
066GRZipII 0.2.4(none)8342100.98 7.9216
067M1 0.3btext2 profile8345590.94 7.9249
068TURTLE 0.07(none)8346650.93 7.9259
069WinTurtle 1.6.0(none)8347240.92 7.9265
070LZTurbo 0.94-568348630.90 7.9278
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
080DACT 0.8.41-b9000008363900.72 7.9423
081BZIP2 1.0.5-98364680.71 7.9430
082RZIP 2.1-78364870.71 7.9432
083PAC 17apr2004comp38365090.71 7.9434
084EXP 1.0(none)8365390.70 7.9437
085LZPM 0.16e8365520.70 7.9438
086PAR 2.00(none)8366320.69 7.9446
087WinHKI 1.74HKI1 Max8366340.69 7.9446
088RKUC 1.04-o28367480.68 7.9457
089X1 0.95aam78368340.67 7.9465
090IMP 1.12-28369300.66 7.9474
091WINIMP 1.21M2, Block 1020,SUS 16 Mb8369300.66 7.9474
092BAR 1.1.2(none)8370880.64 7.9489
093FreeARC 0.51-m=grzip:d:a:l:m38375160.59 7.9530
094HuffComp 1.3(none)8378300.55 7.9560
095UHARC 0.6b-mx -md-8380210.53 7.9578
096BICOM 1.01(none)8384860.47 7.9622
097CTXf 0.75 b1(none)8385100.47 7.9624
098DLC 0.6.1(none)8387920.44 7.9651
099WinRAR 3.80-ep -m5 -mdA -mc2:128t+8392130.39 7.9691
100SR3a(none)8394930.35 7.9717
101ARB255 20010822(none)8395460.35 7.9723
102ICEOWS 4.20bLess8395690.34 7.9725
103SZIP 1.12-b12o08397520.32 7.9742
104DCA 1.0.1bBest8397690.32 7.9744
105RKIVE 1.92-p0 -mt3 -mm18400580.29 7.9771
106KZIP 14-APR-2007/b1008400830.28 7.9774
107BJWFLATE 1.54-n -s648400950.28 7.9775
108ARHANGEL 1.40-mo08403130.26 7.9795
109ACB 2.00cu8405400.23 7.9817
110OrangeArchiver 1.05(none)8407110.21 7.9833
111DST 0.91b-38408570.19 7.9847
112ARJ 2.85-jm -e -jh655358409430.18 7.9855
113CABARC 1.00.0106-m LZX:208410080.17 7.9861
114ZIP 2.2-38410180.17 7.9862
115ARI 2.2-c8411510.16 7.9875
116TRANSFORM 1.02Very Low8412360.15 7.9883
117HIT 2.10(none)8413100.14 7.9890
118SEMONE 0.6(none)8414180.12 7.9900
119ASD 0.2.0-m6 -mdg -rs9 -rh18414310.12 7.9902
120GZIP 1.3.5-98414620.12 7.9904
121LHA 2.67(none)8414800.12 7.9906
122BZIP 0.21(none)8414830.12 7.9906
123ZET 0.10b-es8414830.12 7.9906
124ALZip 7.0Normal8414970.12 7.9908
125DZIP 2.90-38415230.11 7.9910
126AMG 2.2Max compression8415320.11 7.9911
127WINZIP 8.0(Max Compression)8415490.11 7.9913
128LHA32 1.88.3.14-je327688415490.11 7.9913
129ARX 1.0(none)8415650.11 7.9914
130ELI 5750(none)8415710.11 7.9915
131LHARK 0.4d-tt8415750.11 7.9915
132ABCOMP 2.06(none)8415850.10 7.9916
133THOR 0.96e48417800.08 7.9935
134CODER 1.1-ea 500008418090.08 7.9937
135WIN-GZ 1.2(None)8418160.08 7.9938
136Windows XP built-in(none)8419100.07 7.9947
137vuZIP 1.8Maximum8419100.07 7.9947
138File2Pack 2.0(none)8419270.06 7.9949
139EAZEL 1.0(best)8419400.06 7.9950
140SHcodec 1.0.1(none)8419490.06 7.9951
141BSA 2.00-+08420020.06 7.9956
142Chaos Comp 3.0(none)8420130.05 7.9957
143 BCArchive 1.08.7(none)8420800.05 7.9963
144LZ2ACb148422570.03 7.9980
145RAX 1.02-m78423570.01 7.9989
146PKZIP 2.50-ex8424030.01 7.9994
147HOOK 1.41028424150.01 7.9995
148AR 1.0(none)8424650.00 8.0000
149SAR 1.0(none)8424650.00 8.0000
150HIPP 0.5819/so16 /o48424650.00 8.0000
151JCALG1 5.32(none)8424680.00 8.0000
152A10.jpg8424680.00 8.0000
153LZRW1(none)842476-0.00 8.0001
154BigCrunch 0.4a1(none)842486-0.00 8.0002
155HYPER 2.5(none)842497-0.00 8.0003
156LGHA 1.1g-1842501-0.00 8.0003
157HA 0.999ba21842501-0.00 8.0003
158PROPACK 2.19-m1842504-0.00 8.0003
159PSA 0.91a(none)842510-0.00 8.0004
160HPACK 0.79a0(none)842511-0.01 8.0004
161LIMIT 1.2-mx842519-0.01 8.0005
162ESP 1.92/M4842523-0.01 8.0005
163HAP 3.06(none)842523-0.01 8.0005
164PAQUE 1.00(none)842524-0.01 8.0005
165BIX 1.00b7(none)842533-0.01 8.0006
166BioArc 1.9Hyper Auto842552-0.01 8.0008
167WinACE 2.69Max 4096Kb842563-0.01 8.0009
168ACE 2.6-c2-842563-0.01 8.0009
169LZOP 1.02rc1(none)842565-0.01 8.0009
170Archiver 1.0Dict=1M842576-0.01 8.0010
171SHRINK 1.2(none)842580-0.01 8.0011
172CODEC 3.21-c10842580-0.01 8.0011
173ZOO 2.1ah842601-0.02 8.0013
174AKT 1.00a3(none)842717-0.03 8.0024
175LZA 1.01/C0842725-0.03 8.0024
176REDUQ 1.2(none)842752-0.03 8.0027
177QuickLZ 1.40b9mode1842758-0.03 8.0028
178QPress 0.35b-L1842890-0.05 8.0040
179TarsaLZP 21Aug2007(none)843103-0.08 8.0060
180YAC 1.02(none)843138-0.08 8.0064
181Shindlet(none)843157-0.08 8.0065
182SLUG X(none)843175-0.08 8.0067
183AIN 2.32/m1843281-0.10 8.0077
184UC II v3.05b-TT843366-0.11 8.0085
185DeepFreezer 1.06(none)843485-0.12 8.0097
186EXTREME 1.06-t3843684-0.14 8.0115
187SQUISH 1.0(none)844355-0.22 8.0179
188JAR 1.02-m4844735-0.27 8.0215
189QUANTUM 0.97-t20845301-0.34 8.0269
190LZBW1 0.8(none)845322-0.34 8.0271
191LZP2(none)845561-0.37 8.0294
192Tornado 0.4a-4845902-0.41 8.0326
193QC 0.050(none)847302-0.57 8.0459
194ShipInBottle 1.0 b17alg:ppm len:1849452-0.83 8.0663
195ASH 07/o400 /m912 /e849591-0.85 8.0676
196PPMX 0.05(none)849607-0.85 8.0678
197LZDS v2.1-s1024 -m3850061-0.90 8.0721
198LCSSR 0.2-l3850396-0.94 8.0753
199SYMBRA 0.2-m1850438-0.95 8.0757
200Secura 1.7(none)851516-1.07 8.0859
201Quad 1.12x853520-1.31 8.1049
202ZAP32 0.15.0b-1858431-1.89 8.1516
203BWTZIP(none)865622-2.75 8.2199
204RDMC 0.06c(none)867839-3.01 8.2409
20512Ghosts 7.0(none)874546-3.81 8.3046
206PPMZ2 0.81(none)876221-4.01 8.3205
207BruteCM 0.1d(none)888017-5.41 8.4325
208PPMT 0.1(none)903097-7.20 8.5757
209NNTCP5908791-7.87 8.6298
210LZC 0.0810911141-8.15 8.6521
211LZXQ 0.4extreme913051-8.38 8.6702
212HiP beta 11914731-8.58 8.6862
213aPLib 0.43(none)920169-9.22 8.7378
214XPA 1.0.2(none)920226-9.23 8.7384
215CA-ZIP 3.4(none)939602-11.53 8.9224
216BriefLZ 1.04(none)946960-12.40 8.9922
217LZ 1.0(none)947263-12.44 8.9951
218BVI 1.70-m51041070-23.57 9.8859
219SRANK 1.0(none)1167742-38.61 11.0888
220LCW 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)