Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: NERV Agent on 2016-08-27 23:56:11

Title: PSX picture conversion and compression confusion.
Post by: NERV Agent on 2016-08-27 23:56:11
This is related to this thread. (http://forums.qhimm.com/index.php?topic=16999.0)

(http://s19.postimg.org/tac555hjn/OPENING_21_000001_08b_01c.png)

I ripped this opening logo with Tim2View from the PSX version from the file "OPENING_21.data" contained within "MOVIE/OPENING.BIN".

This file is 62,533 bytes.

I modified the palette with JASC Paint Shop Pro 9 and saved it as this new file.

(https://s19.postimg.org/rz571qdub/odd_manual_palette_mod_input_6.png)

All I did was change four colors, and the file is now 13,529 bytes.

What is going on? I guess some data is somehow lost? How would I retain that data?

It doesn't end there, as things will make even less sense as I go on.

When the original "OPENING_21.data" is lzss compressed, it is 19,050 bytes.

After converting the modified ".PNG" file back into a ".data" file with img2tim and lzss compressing it, it comes out to 19,059 bytes.

So somehow, compressing a smaller file made it larger than the original compressed file!

This doesn't make sense. What is going on and how do I solve this?