From 84144f9c9fe3eee6217b9484ef9a8cd3cf34b6b6 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 30 Oct 2013 22:48:44 +0100 Subject: make-realwallpaper: scale clouds --- util/bin/make-realwallpaper | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'util/bin') 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 -- cgit v1.2.3