From: Michael Tremer Date: Mon, 1 Jun 2026 17:07:03 +0000 (+0100) Subject: bios: Add a BIOS boot logo X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0c5c79071db27068da72ce14dcaf051b2b0a09f2;p=artwork.git bios: Add a BIOS boot logo Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index 33c7606..8645a5e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +bios/*.bmp inverted/*.pdf inverted/*.png inverted/*.svg diff --git a/Makefile b/Makefile index 3b54bcd..a02600e 100644 --- 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