redream/assets
Anthony Pesch 090f0e4f87 initial ui work 2017-11-18 16:00:22 -05:00
..
README.md initial ui work 2017-11-18 16:00:22 -05:00
clouds.inc initial ui work 2017-11-18 16:00:22 -05:00
clouds.png initial ui work 2017-11-18 16:00:22 -05:00
disc.inc initial ui work 2017-11-18 16:00:22 -05:00
disc.png initial ui work 2017-11-18 16:00:22 -05:00
fontawesome-webfont.inc initial ui work 2017-11-18 16:00:22 -05:00
fontawesome-webfont.ttf initial ui work 2017-11-18 16:00:22 -05:00
opensans-regular.inc initial ui work 2017-11-18 16:00:22 -05:00
opensans-regular.ttf initial ui work 2017-11-18 16:00:22 -05:00
oswald-medium.inc initial ui work 2017-11-18 16:00:22 -05:00
oswald-medium.ttf initial ui work 2017-11-18 16:00:22 -05:00

README.md

All of the assets here are compressed with zlib and #include'd as code in the project.

For png files, the data is first converted into raw rgb / rgba data with GraphicMagick:

gm convert image.png image.rgb

The data is then compressed with:

openssl zlib -e < image.rgb > image.gz

The data is finally transformed into a C-style array with:

xxd -i image.gz

Note, the width, height and uncompressed sizes are all filled in manually alongside the xxd output.