Post Reply 
[useless thread] gzip compression
Author Message
Assassinator
...

Posts: 6,646.6190
Threads: 176
Joined: 24th Apr 2007
Reputation: 8.53695
E-Pigs: 140.8363
Offline
Post: #18
RE: [useless thread] gzip compression
(31/08/2010 11:06 PM)Assassinator Wrote:  Again, an easy way to find out would be just to go home, extract an ISO, and compress the components separately.

Ok, tests for both are in.


VN data type compression test

Code:
1
2
3
4
5
6
7
8
9
10
11
Sharin no Kuni, Himawari no Shoujo
BGM     131 -> 128
data     53 -> 38
image     383 -> 174
voice     595 -> 557
video     189 -> 126  (WTF???)

Sekien no Inganock
images     614 -> 471
audio     416 -> 340
video     605 -> 553


The images compressed the most, as expected.  Now that I think about it, they're probably in BMP format.

What's surprising is that the goddamn video compressed.  I mean isn't pretty much any video codec supposed to do some form of entropy encoding at the end?  Then you shouldn't really be able to compress it more at all.   MPEG1, I are dissapoint!!!


Image format packing test (Yoake Mae Yori Ruriiro Na -Moonlight Cradle-)

Original is lossless BMP

Code:
BMP     405 -> 65
PNG     186 -> 157
JPG@95%       51 -> 41


As expected, BMP is the best for that.  PNG and JPG can't really compress much (entropy encoding fucking with it), but for JPG, it doesn't really matter since it's smaller than the compressed BMP set anyway.

PNG just sucks (never liked PNG much, this doesn't help).  It's also fucking slow to encode to (takes like 5x longer than the other 2 types, and that's not even using the slowest method).  Not to mention 55% gain over BMP is really quite dissapointing.

01/09/2010 03:00 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [useless thread] gzip compression - Assassinator - 01/09/2010 03:00 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)

 Quick Theme: