L.C. Posted June 11, 2008 Report Posted June 11, 2008 While I was doing some favors for Solitron regarding his shipset for BlueT Mobile Suit: Gundam, I ran across this strange anomaly in the compression of GIFs. I noticed it when I finished my tasks with his shipset and then compared the filesizes of each file plus the whole batch of images (shipX.gif format) to the decompiled LVZ of his zone that had the shipsets. I found that ship5.gif in my version was twice as big in filesize as the ship5.gif image in the decompiled LVZ. My ship5.gif was 85KB while the decompiled version was 42KB. I've tried every trick I could think of to replicate that kind of compression with Photoshop and "GIF Compressors" (did a Google search on it), and nothing can get me a resulting filesize below 70KB! O_O How the fghwds do you compress this GIF image to 42KB on 8-bit, 256 color settings? If I open the decompiled version and work from that do!@#$%^&*ent without creating a new do!@#$%^&*ent or changing the compression/indexed mode, I can resave it using the same insane compression. ship5.gif - My Version - 85.9 KBhttp://www.hlrse.net/Qwerty/btmsg-ship5-test.gif ship5.gif - Decompiled Version - 40.4 KBhttp://www.hlrse.net/Qwerty/btmsg-ship5.gif
»Purge Posted June 11, 2008 Report Posted June 11, 2008 Probably because LVZ uses zlib compression to compress the files.
Hakaku Posted June 11, 2008 Report Posted June 11, 2008 Compare your images, in the first, it's 256 colours, in the second, it's compressed to about 32 colours. With the converter I have, I get about 46kb when I compress the original to 32 colours, while the colour scheme remains relatively similar; so I might even assume that the image is reduced to 24 colours, but this all depends on how the compression is done.
Samapico Posted June 11, 2008 Report Posted June 11, 2008 Compare these 2: Notice how the color palette is different; and notice how his version uses only 88 colors (even if the palette has 256) Paint Shop Pro can do that (photoshop probably can to) by reducing the color depth to X colors. Basically, take a look at the number of different blue tones in the first palette (almost the entire palette are blues), and you can see that this was optimized greatly in the second.
Recommended Posts