recording a movie as series of PNGs with a transparent background
Hi folks, Per instructions ( https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html), I'm trying to make a movie with a series of PNGs with a transparent background to make into a GIF afterward. However, I get an error below. Any help would be appreciated! Thanks, Eugene Eugene Valkov Stadtman Investigator RNA Biology Laboratory National Cancer Institute This works: movie record size 1000,1000 format PNG supersample 4 directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop This doesn't work: movie record size 1000,1000 format PNG supersample 4 transparentBackground true directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop and I get this error: "Expected a keyword". Saving individual PNGs with a transparent background works fine. My version is 1.6.1 (2023-05-09).
Hi Eugene, The transparentBackground option was added to "movie record" after 1.6.1. You need to use the ChimeraX 1.7 release candidate or daily build to use that option. Here is how I figured that out. I pasted your command into ChimeraX 1.6.1 and it said "Expected a keyword" and in the log it highlighted in red where the problem was at "transparentBackground". Then I typed "help movie record" to the ChimeraX command line so I see the documentation for that command and indeed it does not list the option. Using the "help" command shows the documentation for your exact version of ChimeraX. You probably instead looked at the online ChimeraX documentation which is the current most recent version (1.7 release candidate and daily build). So use the ChimeraX "help" command if you want to be sure to see the documentation for your exact ChimeraX version. We add new ChimeraX features all the time, so it is not uncommon to run into this problem. Tom
On Nov 20, 2023, at 10:52 AM, Eugene Valkov via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
Hi folks,
Per instructions (https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html), I'm trying to make a movie with a series of PNGs with a transparent background to make into a GIF afterward. However, I get an error below. Any help would be appreciated!
Thanks, Eugene
Eugene Valkov Stadtman Investigator RNA Biology Laboratory National Cancer Institute
This works: movie record size 1000,1000 format PNG supersample 4 directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop
This doesn't work: movie record size 1000,1000 format PNG supersample 4 transparentBackground true directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop and I get this error: "Expected a keyword".
Saving individual PNGs with a transparent background works fine. My version is 1.6.1 (2023-05-09).
_______________________________________________ Chimera-users mailing list -- chimera-users@cgl.ucsf.edu To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/
Thanks very much, Tom - good to know! Yes, I was looking at the online docs. On Mon, 20 Nov 2023 at 14:04, Tom Goddard <goddard@sonic.net> wrote:
Hi Eugene,
The transparentBackground option was added to "movie record" after 1.6.1. You need to use the ChimeraX 1.7 release candidate or daily build to use that option. Here is how I figured that out. I pasted your command into ChimeraX 1.6.1 and it said "Expected a keyword" and in the log it highlighted in red where the problem was at "transparentBackground". Then I typed "help movie record" to the ChimeraX command line so I see the documentation for that command and indeed it does not list the option. Using the "help" command shows the documentation for your exact version of ChimeraX. You probably instead looked at the online ChimeraX documentation which is the current most recent version (1.7 release candidate and daily build). So use the ChimeraX "help" command if you want to be sure to see the documentation for your exact ChimeraX version. We add new ChimeraX features all the time, so it is not uncommon to run into this problem.
Tom
On Nov 20, 2023, at 10:52 AM, Eugene Valkov via Chimera-users < chimera-users@cgl.ucsf.edu> wrote:
Hi folks,
Per instructions ( https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/movie.html), I'm trying to make a movie with a series of PNGs with a transparent background to make into a GIF afterward. However, I get an error below. Any help would be appreciated!
Thanks, Eugene
Eugene Valkov Stadtman Investigator RNA Biology Laboratory National Cancer Institute
This works: movie record size 1000,1000 format PNG supersample 4 directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop
This doesn't work: movie record size 1000,1000 format PNG supersample 4 transparentBackground true directory ~/chimera_images; wobble y 120 aspect 2 model #1; wait 50; stop; movie stop and I get this error: "Expected a keyword".
Saving individual PNGs with a transparent background works fine. My version is 1.6.1 (2023-05-09).
_______________________________________________ Chimera-users mailing list -- chimera-users@cgl.ucsf.edu To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/
participants (2)
-
Eugene Valkov
-
Tom Goddard