Commit Graph

8 Commits

Author SHA1 Message Date
RoosterDragon
78bef8a98f Compress all pngs.
Reduces size used for png files from 19,034,446 bytes to 13,305,798 bytes in total. The smaller files also improve loading times as the zlib decoder has less bytes to schlep through.

The PNG decoder shipped with OpenRA only supports a bit depth of 8 for images with a palette, so must must ensure that other depths (1,2 or 4) are not used.

zopfilpng is used for compression with the following command line:
'zopflipng.exe --keepcolortype -y -m image.png image.png'

The keepcolortype flag ensures the bit depth is not changed.
2023-06-26 19:28:06 +02:00
Paul Chote
f37d9a7010 Rework D2k Chrome in preparation for UI scaling. 2020-01-19 20:34:18 +01:00
Paul Chote
0eaec5d861 Add an animated reload glyph to the MP server refresh. 2017-12-28 22:42:50 +01:00
Paul Chote
f4d4a7eed4 Fix d2k commandbar artwork glitch. 2017-08-13 14:07:47 +02:00
Paul Chote
e10b64d62c Add command bar to D2K. 2017-07-01 00:35:47 +02:00
Paul Chote
f801fc502f Adjust UI spritesheet to make more usable space. 2017-07-01 00:35:47 +02:00
clemty
76de14b6f5 PNG file size reduction
run pngcrush -brute on *.png

before:
 70 File(s)      3.455.140 bytes

after:
 70 File(s)      2.616.088 bytes
2015-09-29 20:47:36 +02:00
Matthias Mailänder
3be3700722 use the new modular UI 2015-02-08 20:43:32 +01:00