Home

Lossless image compression performance

To test lossless image compression performance, we have encoded an image set called "android_master_5000" with various image codecs. The image set was selected by taking the first 5000 PNG images from the Android source repository, in alphabetical order, and excluding 10 images that have 16 bit color component depth, which WebP does not support losslessly. So the test set consists of 4990 PNG images we call "PNG_orig".

The graph below represents the distribution of image file size ratios of three codecs compared to the original PNG files. The ratio B/A means, how large the original PNG file is relative to the re-encoded file. The larger the B/A ratio, the smaller codec A's encoded file is compared to the original. For example, ratio 1.5 means that the original image file is 50 % larger than the re-encoded image file. Ratios below 1.0 mean that the re-encoded file is larger than the original source file.

Date of results: 2016-06-01

The table below shows more detailed numerical data from the distribution graph. "Better count" means the number of images for which codec A performed better than codec B (PNG_orig). "Worse count" means the number of images for which codec A performed worse than codec B (PNG_orig). Decoding time tests were performed on a Samsung Galaxy S6 phone.

Codec name Encoded file size ratio Decoding time
  Minimum
Higher=better
Median
Higher=better
Average
Higher=better
Maximum
Higher=better
Better count
Higher=better
Worse count
Lower=better
File size sum
Lower=better
Ratio B/A
Higher=better
Decoding time sum
Lower=better
Ratio B/A
Higher=better
GMVC_C (Codec A1) 0.928 1.866 2.848 248.564 4982 (99.84 %) 8 (0.16 %) 54716309 1.648 7841665 1.214
WebP_M4 (Codec A2) 0.237 1.500 2.173 142.559 4531 (90.8 %) 452 (9.06 %) 54977814 1.640 8277791 1.150
PNG95 (Codec A3) 0.150 0.961 1.124 55.025 2064 (41.36 %) 2919 (58.5 %) 83599727 1.079 9229785 1.031
PNG_orig (Codec B) 1.000 1.000 1.000 1.000 0 (0 %) 0 (0 %) 90186206 1.000 9518805 1.000

GMVC® has been intensively tested with e.g. various still image, video and audio types. Please contact us for more information.

Lossless relative sizes

Date of results:

 
 

Lossless sizes, relative to - lower is better

As it can be seen from the table above, on worst case, WebP consumes over 17 bytes and PNG over 49 bytes per one GMVC® C encoded byte.


Brief explanation of codec titles used above.

Codec Explanation
PNG orig PNG files as they have been downloaded from Android repository.
PNG95 PNG file, encoded with highest PNG compression "95" of ImageMagick 6.7.7-10, libpng 1.2.50, Ubuntu 14.04.03 LTS.
WebP M0 Images encoded to WebP in Method 0 cwebp 0.4.3, in Ubuntu 14.04.03 LTS.
WebP M6 Images encoded to WebP in Method 6 cwebp 0.4.3, in Ubuntu 14.04.03 LTS.
GMVC® CS

Gurulogic® MultiVariate Codec (GMVC®), Compression Super Profile.
This profile has the best compression ratio, at the expence of decoding speed.

GMVC® CH Gurulogic® MultiVariate Codec (GMVC®), Compression High Profile.
GMVC® C Gurulogic® MultiVariate Codec (GMVC®), Compression Profile.
GMVC® BC Gurulogic® MultiVariate Codec (GMVC®), Balanced Compression Profile.
GMVC® Gurulogic® MultiVariate Codec (GMVC®), Balanced Profile. 
GMVC® BSP  Gurulogic® MultiVariate Codec (GMVC®), Balanced Speed Profile.
GMVC® SP

Gurulogic® MultiVariate Codec (GMVC®), Speed Profile.
This profile is the fastest one to decode, at the expence of compression ratio.



Examples of lossy compression

Date of results: 2016-05-25

Following test images are compressed with JPG, JPG2000, WebP and GMVC® CH profile using both lossless and different lossy quality ratios, and with PNG using lossless quality. Analysis graphs, below each test image, represent PSNR (in dB) against compression ratio.

echo.png: 800x600, 8 bit colors (Y)


deer.png: 4043x2641, 24 bit colors (RGB)


zone_plate.png: 3000x2000, 8 bit colors (Y)


GMVC® has been intensively tested with e.g. various still image, video and audio types. Please contact us for more information.

Faster decoding time

Date of results:

This test was executed on deer.png image (4043x2641, 24 bit colors RGB)

 

Decoding times - lower is better


Brief explanation of codec titles used above.

Codec Explanation
PNG95 PNG file, encoded with highest PNG compression "95" of ImageMagick 6.7.7-10, libpng 1.2.50, Ubuntu 14.04.03 LTS.
WebP M0 Images encoded to WebP in Method 0 cwebp 0.4.3, in Ubuntu 14.04.03 LTS.
WebP M6 Images encoded to WebP in Method 6 cwebp 0.4.3, in Ubuntu 14.04.03 LTS.
GMVC® CS

Gurulogic® MultiVariate Codec (GMVC®), Compression Super Profile.
This profile has the best compression ratio, at the expense of decoding speed.

GMVC® CH Gurulogic® MultiVariate Codec (GMVC®), Compression High Profile.
GMVC® C  Gurulogic® MultiVariate Codec (GMVC®), Compression Profile.
GMVC® BC Gurulogic® MultiVariate Codec (GMVC®), Balanced Compression Profile.
GMVC® B  Gurulogic® MultiVariate Codec (GMVC®), Balanced Profile. 
GMVC® BSP  Gurulogic® MultiVariate Codec (GMVC®), Balanced Speed Profile.
GMVC® SP

Gurulogic® MultiVariate Codec (GMVC®), Speed Profile.
This profile is the fastest one to decode, at the expense of compression ratio.