-
Notifications
You must be signed in to change notification settings - Fork 104
options in animation.movie has no effect #567
Copy link
Copy link
Closed
Description
Seems that the arg options in function movie from the animation module does not have any effect on output. For an example
import animation;
animation anim;
....
anim.movie(loops=0,delay=50, options="-density 288");
-density 288 won't be passed to migick (checked by calling asy -vvvv)
Probably due to that options is appended to the end of args in Line 80
Lines 77 to 82 in f75c5b6
| string args="-loop " +(string) loops+" -delay "+(string)(delay/10); | |
| for(int i=0; i < files.length; ++i) | |
| args += " "+files[i]; | |
| args += " -alpha Off -dispose Background "+options; | |
| int rc=convert(args,prefix+"."+format,format=format); | |
| this.purge(keep); |
I find a workaround by modifying those lines as
string args=options+" -loop " +(string) loops+" -delay "+(string)(delay/10);
for(int i=0; i < files.length; ++i)
args += " "+files[i];
args += " -alpha Off -dispose Background ";so that options are placed in front of file names to be processed by magick and options are passed correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels