]> git.ipfire.org Git - artwork.git/commitdiff
bios: Add a BIOS boot logo
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Jun 2026 17:07:03 +0000 (18:07 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Jun 2026 17:07:03 +0000 (18:07 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore
Makefile

index 33c760643fa7270a1bbad0874217fd462cc84d63..8645a5ee047cfb9f7049b1c275db27a38a1f19de 100644 (file)
@@ -1,4 +1,5 @@
 .DS_Store
+bios/*.bmp
 inverted/*.pdf
 inverted/*.png
 inverted/*.svg
index 3b54bcd8014c8b479ccf3d496ca5b7ce53066bb4..a02600e3c93463bd7ac6ace3f085088921b07b22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,10 @@ OBJECTS += \
        standard/favicon-256x256.png \
        standard/apple-touch-icon.png
 
+# Render the BIOS boot logo
+OBJECTS += \
+       bios/boot-logo.bmp
+
 # Colors
 PRIMARY = ff2e52
 DARK    = 363636
@@ -40,6 +44,9 @@ WHITE   = ffffff
 # rsvg-convert command line
 RSVG_CONVERT = rsvg-convert --keep-aspect-ratio
 
+# ImageMagick Convert
+MAGICK = magick
+
 # Inkscape command line
 INKSCAPE = inkscape $< --export-filename=$@
 
@@ -174,6 +181,13 @@ standard/favicon.svg: favicon-standalone.svg
 %-inverted.svg: %.svg
        $(TO_INVERTED)
 
+# BIOS Boot Logo
+bios/boot-logo.bmp: logo-standalone.svg
+       mkdir -p $(dir $@) && \
+       $(RSVG_CONVERT) --width=360 $< | \
+       $(MAGICK) - -background "#$(WHITE)" -gravity center -extent 800x600 \
+               -alpha remove -alpha off -type TrueColor BMP3:$@
+
 .PHONY: clean
 clean:
        # Remove all generated objects