gmt
gmt copied to clipboard
Bug in Movie -MPNG (with transparency layer)
I run the script below and I got this message. Note that I use -MPNG to ask for a png with transparency layer. -Mpng is for without transparency.
mv: cannot stat 'contar.PNG': No such file or directory
The file is generated well but it has a lowercase extension (.png). GMT cannot move it because it looks for a file with uppercase letters ( .PNG) instead.
Script
cat << EOF > main.sh
gmt begin
echo \${MOVIE_FRAME} | gmt text -R0/1/0/1 -JX10c -F+f200p+cCM -B0 -X0 -Y0
gmt end
EOF
gmt movie main.sh -Ncontar -T25 -C10cx10cx30 -D4 -MPNG -Q -Vi
Solution
I think that the solution should be that GMT looks for a .png instead, right?