Drop in a <rect> that ImageMagick can pick up
- ID
460340d- date
2021-02-20 23:44:34+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
fe4fb24- message
Drop in a <rect> that ImageMagick can pick up- changed files
7 files, 9 additions
Changed files
happy.svg (4663 → 4737)
diff --git a/happy.svg b/happy.svg
index aa45e65..e422f12 100644
--- a/happy.svg
+++ b/happy.svg
@@ -4,6 +4,7 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#ffc905" x="0" y="0" width="1600" height="900">
<g transform="rotate(89 250 250)">
happybackgrounds.py (6915 → 7076)
diff --git a/happybackgrounds.py b/happybackgrounds.py
index 2f87186..d7d36d6 100755
--- a/happybackgrounds.py
+++ b/happybackgrounds.py
@@ -81,6 +81,7 @@ def create_svg(
height = 900
# We want an SVG with a 16:9 ratio and the specified background color.
+ # I'm including a <rect> so that ImageMagick picks up the background.
lines = [
f'<svg viewBox="0 0 {width} {height}" style="background-color:{background}" xmlns="http://www.w3.org/2000/svg">',
f"""
@@ -88,6 +89,7 @@ def create_svg(
Font Awesome Free {FA_VERSION} by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:{background}" x="0" y="0" width="{width}" height="{height}">
""",
]
luna.svg (10359 → 10433)
diff --git a/luna.svg b/luna.svg
index 69f2112..5f98806 100644
--- a/luna.svg
+++ b/luna.svg
@@ -4,6 +4,7 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#a8a8a8" x="0" y="0" width="1600" height="900">
<g transform="rotate(144 250 250) translate(654 294) scale(0.3363868644502957 0.3363868644502957)"
mars.svg (10757 → 10831)
diff --git a/mars.svg b/mars.svg
index e14aa45..26564d7 100644
--- a/mars.svg
+++ b/mars.svg
@@ -4,6 +4,7 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#c24400" x="0" y="0" width="1600" height="900">
<g transform="translate(1312 455) scale(0.232986919467987 0.232986919467987)"
plants.svg (18027 → 18101)
diff --git a/plants.svg b/plants.svg
index c487928..547e200 100644
--- a/plants.svg
+++ b/plants.svg
@@ -4,6 +4,7 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#a7ff99" x="0" y="0" width="1600" height="900">
<g transform="translate(79 201) scale(0.10590448045232989 0.10590448045232989)"
snowflake.svg (26521 → 26595)
diff --git a/snowflake.svg b/snowflake.svg
index 76f5ba3..b80985d 100644
--- a/snowflake.svg
+++ b/snowflake.svg
@@ -4,6 +4,7 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#d6fcff" x="0" y="0" width="1600" height="900">
<g transform="translate(169 -43) scale(0.9890283986684383 0.9890283986684383)"
starfield.svg (2953 → 3036)
diff --git a/starfield.svg b/starfield.svg
index b3cb88a..a020c05 100644
--- a/starfield.svg
+++ b/starfield.svg
@@ -4,6 +4,8 @@
Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free
(Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
-->
+ <rect style="fill:#000314" x="0" y="0" width="1600" height="900">
+
<g transform="translate(307 370) scale(0.4900678477237619 0.4900678477237619)"
style="fill: #000f6a">