{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/magick/issues/22","labels_url":"https://api.github.com/repos/leafo/magick/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/leafo/magick/issues/22/comments","events_url":"https://api.github.com/repos/leafo/magick/issues/22/events","html_url":"https://github.com/leafo/magick/issues/22","id":108870895,"number":22,"title":"Use first frame from GIF instead last one","user":{"login":"gomax","id":530506,"avatar_url":"https://avatars.githubusercontent.com/u/530506?v=3","gravatar_id":"","url":"https://api.github.com/users/gomax","html_url":"https://github.com/gomax","followers_url":"https://api.github.com/users/gomax/followers","following_url":"https://api.github.com/users/gomax/following{/other_user}","gists_url":"https://api.github.com/users/gomax/gists{/gist_id}","starred_url":"https://api.github.com/users/gomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gomax/subscriptions","organizations_url":"https://api.github.com/users/gomax/orgs","repos_url":"https://api.github.com/users/gomax/repos","events_url":"https://api.github.com/users/gomax/events{/privacy}","received_events_url":"https://api.github.com/users/gomax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-29T13:38:58Z","updated_at":"2016-01-10T08:14:36Z","closed_at":"2016-01-10T08:14:36Z","body":"I have problem with GIF thumbnailing. Now 'magick' use static image as thumbnail for gif, ok. But it takes the last frame, and sometimes its broken.\r\n\r\nThere are 2 attached files. The first one is a screenshot of the original last frame and theresult. The second attach is original gif file.\r\n![git_thumb](https://cloud.githubusercontent.com/assets/530506/10165490/4f71a79a-66c8-11e5-9586-a7fe86cc2c5c.png)\r\n![064ff87673c5ae3dc26fbaacfb722d32](https://cloud.githubusercontent.com/assets/530506/10165498/56412a50-66c8-11e5-86e6-febb4ab5083d.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/leafo/magick/issues/comments/170324812","html_url":"https://github.com/leafo/magick/issues/22#issuecomment-170324812","issue_url":"https://api.github.com/repos/leafo/magick/issues/22","id":170324812,"user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T08:14:36Z","updated_at":"2016-01-10T08:14:36Z","body":"the coalesce method now exists, but I don't recommend it if you're using it for user uploaded image. It's going to use up a lot of memory, and potentially be an attack vector. I created this library to hande extracting the first frame from a gif: https://github.com/leafo/giflib"}}