Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in Movie -MPNG (with transparency layer) #8395

Open
Esteban82 opened this issue Mar 5, 2024 · 0 comments
Open

Bug in Movie -MPNG (with transparency layer) #8395

Esteban82 opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Esteban82
Copy link
Member

Esteban82 commented Mar 5, 2024

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?

@Esteban82 Esteban82 added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant