codenamecpp / carnage3d

Reimplementation of Grand Theft Auto 1 [GTA1]
MIT License
477 stars 38 forks source link

Optimize all PNGs with oxipng #75

Closed kattjevfel closed 2 years ago

kattjevfel commented 2 years ago

oxipng 5.0.1, parameters used: -asZomax

Processing: carnage3d_logo.png
    349x76 pixels, PNG format
    4x8 bits/pixel, RGBA
    IDAT size = 13225 bytes
    File size = 13368 bytes
Trying: 6 combinations
Found better combination:
    zc = 0  zs = 0  f = 0        10018 bytes
    IDAT size = 10018 bytes (3207 bytes decrease)
    file size = 10125 bytes (3243 bytes = 24.26% decrease)
Output: carnage3d_logo.png
Processing: SplitScreenTest.png
    1696x1088 pixels, PNG format
    3x8 bits/pixel, RGB
    IDAT size = 745702 bytes
    File size = 745977 bytes
Trying: 6 combinations
Found better combination:
    zc = 0  zs = 0  f = 0        528461 bytes
    IDAT size = 528461 bytes (217241 bytes decrease)
    file size = 528568 bytes (217409 bytes = 29.14% decrease)
Output: SplitScreenTest.png
Processing: WorksOnLinux.png
    1680x1050 pixels, PNG format
    4x8 bits/pixel, RGBA
    IDAT size = 278979 bytes
    File size = 279497 bytes
Reducing image to 3x8 bits/pixel, RGB
Trying: 6 combinations
Found better combination:
    zc = 0  zs = 0  f = 0        209087 bytes
    IDAT size = 209087 bytes (69892 bytes decrease)
    file size = 209159 bytes (70338 bytes = 25.17% decrease)
Output: WorksOnLinux.png
codenamecpp commented 2 years ago

There's really no need to optimize 3 pngs which are not even in game.