Skip to content

Instantly share code, notes, and snippets.

@jerodfritz
Created July 31, 2012 16:19
Show Gist options
  • Save jerodfritz/3218214 to your computer and use it in GitHub Desktop.
Save jerodfritz/3218214 to your computer and use it in GitHub Desktop.
gifmaker invocation
var timeStamp = new Date().getTime();
var filename = 'MoTracker_' + timeStamp + '.mov';
var movTargetFile = moTrackerImagesFolderExports.nativePath.substring(16) + filename;
var framesPerSecond = 4;
var movSize = 320;
Ti.API.info(JSON.stringify(moTrackImagesArray));
Ti.API.info(movTargetFile);
var movOutput = gifmaker.createMOV(moTrackImagesArray, movTargetFile, framesPerSecond, movSize);
Ti.API.info(movOutput); //Output if true is successful, false if there was a failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment