From: Michael Tremer Date: Wed, 30 Apr 2025 14:23:45 +0000 (+0100) Subject: Import the new logo and some scripts to generate different versions of it X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a3f6dbebc418a6e019c5219e6108421b20e842b;p=artwork.git Import the new logo and some scripts to generate different versions of it Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8636d97 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +standard/*.pdf +standard/*.png +standard/*.svg diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..150929f --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +OBJECTS = \ + standard/logo.svg \ + standard/logo.pdf \ + standard/logo-512x512.png \ + standard/logo-1024x1024.png \ + standard/logo-2048x2048.png + +# Inkscape command line +INKSCAPE = inkscape $< --export-filename=$@ + +.PHONY: all +all: $(OBJECTS) + +# Converts the logo to a plain SVG file without requiring the font +standard/logo.svg: logo.svg + mkdir -p $(dir $@) + $(INKSCAPE) \ + --batch-process \ + --actions="select-all;object-to-path;export-plain-svg" + +# Converts the logo to PDF +standard/logo.pdf: logo.svg + mkdir -p $(dir $@) + $(INKSCAPE) + +# Converts the logo to a transparent PNG image with 512x512 pixels +standard/logo-512x512.png: logo.svg + mkdir -p $(dir $@) + $(INKSCAPE) --export-width=512 + +standard/logo-1024x1024.png: logo.svg + mkdir -p $(dir $@) + $(INKSCAPE) --export-width=1024 + +standard/logo-2048x2048.png: logo.svg + mkdir -p $(dir $@) + $(INKSCAPE) --export-width=2048 + +.PHONY: clean +clean: + # Remove all generated objects + rm -vf $(OBJECTS) diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..1dbeb5f --- /dev/null +++ b/logo.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + IPFire_ + +