Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Imagemagick args
Browse files Browse the repository at this point in the history
  • Loading branch information
gangleton committed Oct 1, 2012
1 parent b79e9f0 commit 5d13bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/libs/gifs.js
Expand Up @@ -41,7 +41,7 @@ var GIFs = {
createComposite: function(url){
var grabShots = function(bgimage){
var grabLimit = 10; // Number of screenshots to take
var grabRate = 100; // Miliseconds. 500 = half a second
var grabRate = 50; // Miliseconds. 500 = half a second
var count = 0;

var grabber = setInterval(function(){
Expand Down
2 changes: 1 addition & 1 deletion grunt.js
Expand Up @@ -303,7 +303,7 @@ module.exports = function(grunt) {
site.get("/api/gif-generator", function(req, res){
log.writeln("time to make a gif");
var gifpath = req.query.stamp + "animated.gif";
exec("convert tmp/" + req.query.stamp + "*.gif -delay 100 -loop 0 tmp/" + gifpath, function(err, stdout, stderr){
exec("convert tmp/" + req.query.stamp + "*.gif -delay 50 -colors 128 -loop 0 tmp/" + gifpath, function(err, stdout, stderr){
if(err){
console.log(err);
}
Expand Down

0 comments on commit 5d13bc1

Please sign in to comment.