Prior to MB 4.6 this is done by using the AGS Encoder primitive. As of MediaBin 4.6 it is a built-in feature of the GIF encoder.1) Your MBDataDirectory should have a subdirectory called:"AGS Command Files" (if not, create one).This is where the server will expect the script to be placed. Here's an attempt (it may have typos):[html][/html]Full details are in the CommandsReference.pdf in the documentation directory of your AGS installation. Note that the MediaBin specific elements are the keywords "InFile", "OutFile", and it is compulsory to add "appendExtension="false".By substituting real filenames for InFile and OutFile, one can test AGS completely outside MediaBin.Cheers,Lyman