Skip to content

Instantly share code, notes, and snippets.

Avatar
🚍
Working

Jerod Fritz centogram

🚍
Working
View GitHub Profile
@centogram
centogram / gifmaker.js
Created Jul 31, 2012
gifmaker invocation
View gifmaker.js
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
You can’t perform that action at this time.