File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ himawari8(){
1717 curl " https://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/${urldate} 0000_0_0.png" > ${tempfile} .png
1818 convert -resize " 88888x$earthHeight " ${tempfile} .png $tempfile
1919 rm -f ${tempfile} .png
20- convert -size 3440x1440 xc:none $backgroundfile
20+ convert -size $screen xc:none $backgroundfile
2121 composite -gravity center $tempfile $backgroundfile $targetfile
2222 rm -f $tempfile $backgroundfile
2323}
@@ -26,7 +26,7 @@ nesdis(){
2626 convert -crop 1808x1776+0+0 $tempfile $tempfile
2727 composite -gravity southwest hei.jpg $tempfile $tempfile
2828 convert -resize " 88888x$earthHeight " $tempfile $tempfile
29- convert -size 3440x1440 xc:none $backgroundfile
29+ convert -size $screen xc:none $backgroundfile
3030 composite -gravity center $tempfile $backgroundfile $targetfile
3131 rm -f $tempfile $backgroundfile
3232}
You can’t perform that action at this time.
0 commit comments