{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/tj/node-gify/pulls/4","id":8002297,"html_url":"https://github.com/tj/node-gify/pull/4","diff_url":"https://github.com/tj/node-gify/pull/4.diff","patch_url":"https://github.com/tj/node-gify/pull/4.patch","issue_url":"https://api.github.com/repos/tj/node-gify/issues/4","number":4,"state":"closed","locked":false,"title":"Added an image sequence option","user":{"login":"overra","id":362590,"avatar_url":"https://avatars.githubusercontent.com/u/362590?v=3","gravatar_id":"","url":"https://api.github.com/users/overra","html_url":"https://github.com/overra","followers_url":"https://api.github.com/users/overra/followers","following_url":"https://api.github.com/users/overra/following{/other_user}","gists_url":"https://api.github.com/users/overra/gists{/gist_id}","starred_url":"https://api.github.com/users/overra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overra/subscriptions","organizations_url":"https://api.github.com/users/overra/orgs","repos_url":"https://api.github.com/users/overra/repos","events_url":"https://api.github.com/users/overra/events{/privacy}","received_events_url":"https://api.github.com/users/overra/received_events","type":"User","site_admin":false},"body":"With `sequence: true` you can define the source as a directory with a wildcard.\r\n\r\n```js\r\nvar opts = {\r\n  width: 300,\r\n  sequence: true\r\n};\r\n\r\ngify('frames/*', 'out.gif', opts, function(err){\r\n  if (err) throw err;\r\n});\r\n```\r\n\r\nAlso added this option to the CLI but you need to wrap the source in quotes.\r\n\r\n```\r\n$ DEBUG=gify ./bin/gify -S -w 300 ../images/* blah.gif\r\n[ '../images/DSC_0031 2.JPG',\r\n  '../images/DSC_0031 3.JPG',\r\n  '../images/DSC_0031 4.JPG',\r\n  '../images/DSC_0031 5.JPG',\r\n  '../images/DSC_0031 6.JPG',\r\n  '../images/DSC_0031 7.JPG',\r\n  '../images/DSC_0031 8.JPG',\r\n  'blah.gif' ]\r\n```\r\n\r\n\r\nMaybe it should assume the source is a directory and append the wildcard character if the sequence option is enabled.","created_at":"2013-08-31T08:39:05Z","updated_at":"2016-02-08T20:41:41Z","closed_at":"2016-02-08T20:41:41Z","merged_at":null,"merge_commit_sha":"676ea4f8a21786e0d20622fb0f6bb25dc9d56bde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tj/node-gify/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tj/node-gify/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tj/node-gify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tj/node-gify/issues/4/comments","statuses_url":"https://api.github.com/repos/tj/node-gify/statuses/857f7f73529efb89ae56c2ce7975295c1e756315","head":{"label":"overra:master","ref":"master","sha":"857f7f73529efb89ae56c2ce7975295c1e756315","user":{"login":"overra","id":362590,"avatar_url":"https://avatars.githubusercontent.com/u/362590?v=3","gravatar_id":"","url":"https://api.github.com/users/overra","html_url":"https://github.com/overra","followers_url":"https://api.github.com/users/overra/followers","following_url":"https://api.github.com/users/overra/following{/other_user}","gists_url":"https://api.github.com/users/overra/gists{/gist_id}","starred_url":"https://api.github.com/users/overra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overra/subscriptions","organizations_url":"https://api.github.com/users/overra/orgs","repos_url":"https://api.github.com/users/overra/repos","events_url":"https://api.github.com/users/overra/events{/privacy}","received_events_url":"https://api.github.com/users/overra/received_events","type":"User","site_admin":false},"repo":{"id":12466184,"name":"node-gify","full_name":"overra/node-gify","owner":{"login":"overra","id":362590,"avatar_url":"https://avatars.githubusercontent.com/u/362590?v=3","gravatar_id":"","url":"https://api.github.com/users/overra","html_url":"https://github.com/overra","followers_url":"https://api.github.com/users/overra/followers","following_url":"https://api.github.com/users/overra/following{/other_user}","gists_url":"https://api.github.com/users/overra/gists{/gist_id}","starred_url":"https://api.github.com/users/overra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overra/subscriptions","organizations_url":"https://api.github.com/users/overra/orgs","repos_url":"https://api.github.com/users/overra/repos","events_url":"https://api.github.com/users/overra/events{/privacy}","received_events_url":"https://api.github.com/users/overra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/overra/node-gify","description":"Convert videos to gifs using ffmpeg and graphicsmagick","fork":true,"url":"https://api.github.com/repos/overra/node-gify","forks_url":"https://api.github.com/repos/overra/node-gify/forks","keys_url":"https://api.github.com/repos/overra/node-gify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/overra/node-gify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/overra/node-gify/teams","hooks_url":"https://api.github.com/repos/overra/node-gify/hooks","issue_events_url":"https://api.github.com/repos/overra/node-gify/issues/events{/number}","events_url":"https://api.github.com/repos/overra/node-gify/events","assignees_url":"https://api.github.com/repos/overra/node-gify/assignees{/user}","branches_url":"https://api.github.com/repos/overra/node-gify/branches{/branch}","tags_url":"https://api.github.com/repos/overra/node-gify/tags","blobs_url":"https://api.github.com/repos/overra/node-gify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/overra/node-gify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/overra/node-gify/git/refs{/sha}","trees_url":"https://api.github.com/repos/overra/node-gify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/overra/node-gify/statuses/{sha}","languages_url":"https://api.github.com/repos/overra/node-gify/languages","stargazers_url":"https://api.github.com/repos/overra/node-gify/stargazers","contributors_url":"https://api.github.com/repos/overra/node-gify/contributors","subscribers_url":"https://api.github.com/repos/overra/node-gify/subscribers","subscription_url":"https://api.github.com/repos/overra/node-gify/subscription","commits_url":"https://api.github.com/repos/overra/node-gify/commits{/sha}","git_commits_url":"https://api.github.com/repos/overra/node-gify/git/commits{/sha}","comments_url":"https://api.github.com/repos/overra/node-gify/comments{/number}","issue_comment_url":"https://api.github.com/repos/overra/node-gify/issues/comments{/number}","contents_url":"https://api.github.com/repos/overra/node-gify/contents/{+path}","compare_url":"https://api.github.com/repos/overra/node-gify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/overra/node-gify/merges","archive_url":"https://api.github.com/repos/overra/node-gify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/overra/node-gify/downloads","issues_url":"https://api.github.com/repos/overra/node-gify/issues{/number}","pulls_url":"https://api.github.com/repos/overra/node-gify/pulls{/number}","milestones_url":"https://api.github.com/repos/overra/node-gify/milestones{/number}","notifications_url":"https://api.github.com/repos/overra/node-gify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/overra/node-gify/labels{/name}","releases_url":"https://api.github.com/repos/overra/node-gify/releases{/id}","deployments_url":"https://api.github.com/repos/overra/node-gify/deployments","created_at":"2013-08-29T17:09:39Z","updated_at":"2014-02-08T12:02:58Z","pushed_at":"2013-08-31T08:30:25Z","git_url":"git://github.com/overra/node-gify.git","ssh_url":"git@github.com:overra/node-gify.git","clone_url":"https://github.com/overra/node-gify.git","svn_url":"https://github.com/overra/node-gify","homepage":"","size":116,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"tj:master","ref":"master","sha":"9303913cf122ce29804904d3891fdcfc4e0af1da","user":{"login":"tj","id":25254,"avatar_url":"https://avatars.githubusercontent.com/u/25254?v=3","gravatar_id":"","url":"https://api.github.com/users/tj","html_url":"https://github.com/tj","followers_url":"https://api.github.com/users/tj/followers","following_url":"https://api.github.com/users/tj/following{/other_user}","gists_url":"https://api.github.com/users/tj/gists{/gist_id}","starred_url":"https://api.github.com/users/tj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tj/subscriptions","organizations_url":"https://api.github.com/users/tj/orgs","repos_url":"https://api.github.com/users/tj/repos","events_url":"https://api.github.com/users/tj/events{/privacy}","received_events_url":"https://api.github.com/users/tj/received_events","type":"User","site_admin":false},"repo":{"id":12448115,"name":"node-gify","full_name":"tj/node-gify","owner":{"login":"tj","id":25254,"avatar_url":"https://avatars.githubusercontent.com/u/25254?v=3","gravatar_id":"","url":"https://api.github.com/users/tj","html_url":"https://github.com/tj","followers_url":"https://api.github.com/users/tj/followers","following_url":"https://api.github.com/users/tj/following{/other_user}","gists_url":"https://api.github.com/users/tj/gists{/gist_id}","starred_url":"https://api.github.com/users/tj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tj/subscriptions","organizations_url":"https://api.github.com/users/tj/orgs","repos_url":"https://api.github.com/users/tj/repos","events_url":"https://api.github.com/users/tj/events{/privacy}","received_events_url":"https://api.github.com/users/tj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tj/node-gify","description":"Convert videos to gifs using ffmpeg and gifsicle","fork":false,"url":"https://api.github.com/repos/tj/node-gify","forks_url":"https://api.github.com/repos/tj/node-gify/forks","keys_url":"https://api.github.com/repos/tj/node-gify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tj/node-gify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tj/node-gify/teams","hooks_url":"https://api.github.com/repos/tj/node-gify/hooks","issue_events_url":"https://api.github.com/repos/tj/node-gify/issues/events{/number}","events_url":"https://api.github.com/repos/tj/node-gify/events","assignees_url":"https://api.github.com/repos/tj/node-gify/assignees{/user}","branches_url":"https://api.github.com/repos/tj/node-gify/branches{/branch}","tags_url":"https://api.github.com/repos/tj/node-gify/tags","blobs_url":"https://api.github.com/repos/tj/node-gify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tj/node-gify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tj/node-gify/git/refs{/sha}","trees_url":"https://api.github.com/repos/tj/node-gify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tj/node-gify/statuses/{sha}","languages_url":"https://api.github.com/repos/tj/node-gify/languages","stargazers_url":"https://api.github.com/repos/tj/node-gify/stargazers","contributors_url":"https://api.github.com/repos/tj/node-gify/contributors","subscribers_url":"https://api.github.com/repos/tj/node-gify/subscribers","subscription_url":"https://api.github.com/repos/tj/node-gify/subscription","commits_url":"https://api.github.com/repos/tj/node-gify/commits{/sha}","git_commits_url":"https://api.github.com/repos/tj/node-gify/git/commits{/sha}","comments_url":"https://api.github.com/repos/tj/node-gify/comments{/number}","issue_comment_url":"https://api.github.com/repos/tj/node-gify/issues/comments{/number}","contents_url":"https://api.github.com/repos/tj/node-gify/contents/{+path}","compare_url":"https://api.github.com/repos/tj/node-gify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tj/node-gify/merges","archive_url":"https://api.github.com/repos/tj/node-gify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tj/node-gify/downloads","issues_url":"https://api.github.com/repos/tj/node-gify/issues{/number}","pulls_url":"https://api.github.com/repos/tj/node-gify/pulls{/number}","milestones_url":"https://api.github.com/repos/tj/node-gify/milestones{/number}","notifications_url":"https://api.github.com/repos/tj/node-gify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tj/node-gify/labels{/name}","releases_url":"https://api.github.com/repos/tj/node-gify/releases{/id}","deployments_url":"https://api.github.com/repos/tj/node-gify/deployments","created_at":"2013-08-29T00:58:31Z","updated_at":"2016-02-03T16:04:13Z","pushed_at":"2014-07-04T22:45:39Z","git_url":"git://github.com/tj/node-gify.git","ssh_url":"git@github.com:tj/node-gify.git","clone_url":"https://github.com/tj/node-gify.git","svn_url":"https://github.com/tj/node-gify","homepage":null,"size":187,"stargazers_count":178,"watchers_count":178,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tj/node-gify/pulls/4"},"html":{"href":"https://github.com/tj/node-gify/pull/4"},"issue":{"href":"https://api.github.com/repos/tj/node-gify/issues/4"},"comments":{"href":"https://api.github.com/repos/tj/node-gify/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tj/node-gify/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tj/node-gify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tj/node-gify/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tj/node-gify/statuses/857f7f73529efb89ae56c2ce7975295c1e756315"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":56,"deletions":24,"changed_files":3}}