I am trying to automate the process of saving animate GIF by AFNI driver. I find the command SAVE_AGIF from driver's readme. But, I am not sure how it works. Below is the command I issued and the error message.
plugout_drive -com "SWITCH_OVERLAY ttt+orig 0 0" -com "SAVE_AGIF coronalimage ttt" -quit
** ERROR: Can't save image range 0..0!