summaryrefslogtreecommitdiffstats
path: root/util/bin/make-realwallpaper
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-10-30 22:48:44 +0100
committertv <tv@nomic.retiolum>2013-10-30 22:48:44 +0100
commit84144f9c9fe3eee6217b9484ef9a8cd3cf34b6b6 (patch)
tree98c6454219dc7a46083996b93004d4b5ed601d60 /util/bin/make-realwallpaper
parent7eab6a09e768654458b3591b9b8fd417d1059147 (diff)
make-realwallpaper: scale clouds
Diffstat (limited to 'util/bin/make-realwallpaper')
-rwxr-xr-xutil/bin/make-realwallpaper12
1 files changed, 8 insertions, 4 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper
index 672ab55f..6f0b1423 100755
--- a/util/bin/make-realwallpaper
+++ b/util/bin/make-realwallpaper
@@ -11,7 +11,7 @@ main() {
http://awka.sourceforge.net/Night_le_huge.jpg &
fetch daymap.png \
http://www.nnvl.noaa.gov/images/globaldata/SnowIceCover_Daily.png &
- fetch cloud-layer.jpg \
+ fetch clouds.jpg \
http://user.chol.com/~winxplanet/cloud_data/clouds_2048.jpg &
fetch krebs.sat.tle \
http://www.celestrak.com/NORAD/elements/stations.txt
@@ -19,13 +19,17 @@ main() {
check_type nightmap.jpg image
check_type daymap.png image
- check_type cloud-layer.jpg image
+ check_type clouds.jpg image
# downscale daymap to match nightmap
needs_rebuild daymap-final.png \
daymap.png \
&& convert daymap.png -scale $(image_size nightmap.jpg) daymap-final.png
+ needs_rebuild clouds-final.png \
+ clouds.jpg \
+ && convert clouds.jpg -scale $(image_size nightmap.jpg) clouds-final.png
+
# create nightmap-fullsnow
needs_rebuild nightmap-fullsnow.png \
&& convert \
@@ -62,7 +66,7 @@ main() {
"Earth"
map=daymap-final.png
night_map=nightmap-final.png
-cloud_map=cloud-layer.jpg
+cloud_map=clouds-final.png
EOF
# create xplanet output satellite version
@@ -72,7 +76,7 @@ EOF
"Earth"
map=daymap-final.png
night_map=nightmap-final.png
-cloud_map=cloud-layer.jpg
+cloud_map=clouds-final.png
satellite_file=krebs.sat
EOF