spillerrec / cgCompress

Efficiently store Visual Novel cgs by using a multi-image format for storing all variations of one image in one file. This way, only the differences need to be stored which reduces the file size significantly.
GNU General Public License v3.0
16 stars 1 forks source link

Automatic evaluation of compression #4

Closed spillerrec closed 6 years ago

spillerrec commented 8 years ago

cgCompress files are now verified to be exactly as the original, so instead of having to store the original images, we can convert the cgCompress image to other formats and create a .csv file with the resulting filesizes.

Compare the following:

spillerrec commented 6 years ago

LZ4 compression is too poor, investigate. And add LZMA

spillerrec commented 6 years ago

Done, and currently reevaluating 1500 files. Interesting stuff really, I should have made this a long time ago. WebP is mostly 25% better than LZMA, but for one dataset LZMA beats WebP significantly. And it is much easier to find image which needs work, by looking at the relative efficiency between LZMA and cgCompress.