As, promised I try to upstream improvements from my version of this project :)
I found a way to get optipng to compress the images, without rendering issues on GRUB. GRUB can't handle indexed pngs properly, so adding -nc to the optipng arguments fixes this, and lossless compression has been re-enabled. I've regenerated all project assets with the compression
I also fixed a line that had issues when linting with shellcheck
As, promised I try to upstream improvements from my version of this project :)
optipng
to compress the images, without rendering issues on GRUB. GRUB can't handle indexed pngs properly, so adding-nc
to theoptipng
arguments fixes this, and lossless compression has been re-enabled. I've regenerated all project assets with the compressionshellcheck