{"action":"created","issue":{"url":"https://api.github.com/repos/devongovett/gif-stream/issues/2","labels_url":"https://api.github.com/repos/devongovett/gif-stream/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/devongovett/gif-stream/issues/2/comments","events_url":"https://api.github.com/repos/devongovett/gif-stream/issues/2/events","html_url":"https://github.com/devongovett/gif-stream/issues/2","id":75331704,"number":2,"title":"Palette information in frame","user":{"login":"sfrdmn","id":590570,"avatar_url":"https://avatars.githubusercontent.com/u/590570?v=3","gravatar_id":"","url":"https://api.github.com/users/sfrdmn","html_url":"https://github.com/sfrdmn","followers_url":"https://api.github.com/users/sfrdmn/followers","following_url":"https://api.github.com/users/sfrdmn/following{/other_user}","gists_url":"https://api.github.com/users/sfrdmn/gists{/gist_id}","starred_url":"https://api.github.com/users/sfrdmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfrdmn/subscriptions","organizations_url":"https://api.github.com/users/sfrdmn/orgs","repos_url":"https://api.github.com/users/sfrdmn/repos","events_url":"https://api.github.com/users/sfrdmn/events{/privacy}","received_events_url":"https://api.github.com/users/sfrdmn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-11T19:29:22Z","updated_at":"2015-05-11T20:02:23Z","closed_at":null,"body":"Was looking into how I might grab color table / palette information out of the GIFDecoder stream. Looks like GIFEncoder looks for palette information in the input PixelStream via `frame.palette || this.format.palette`. GIFDecoder, however, doesn't annotate its pixel stream with this data. If it did, I could simply do `gifDecodeStream.pipe(gifEncodeStream).pipe(fileWriteStream)` and it would work (not that that's useful, but it means the quantization stream step becomes unnecessary)\r\n\r\nIs there a particular reason for this? Could always just subclass GIFDecoder to include the data, but maybe it would be useful to add this to GIFDecoder?\r\n\r\nBTW, what I'm trying to do is decode a single GIF into its individual frames, then reencode each frame as a static GIF.\r\n\r\nCan submit a pull."},"comment":{"url":"https://api.github.com/repos/devongovett/gif-stream/issues/comments/101031996","html_url":"https://github.com/devongovett/gif-stream/issues/2#issuecomment-101031996","issue_url":"https://api.github.com/repos/devongovett/gif-stream/issues/2","id":101031996,"user":{"login":"sfrdmn","id":590570,"avatar_url":"https://avatars.githubusercontent.com/u/590570?v=3","gravatar_id":"","url":"https://api.github.com/users/sfrdmn","html_url":"https://github.com/sfrdmn","followers_url":"https://api.github.com/users/sfrdmn/followers","following_url":"https://api.github.com/users/sfrdmn/following{/other_user}","gists_url":"https://api.github.com/users/sfrdmn/gists{/gist_id}","starred_url":"https://api.github.com/users/sfrdmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfrdmn/subscriptions","organizations_url":"https://api.github.com/users/sfrdmn/orgs","repos_url":"https://api.github.com/users/sfrdmn/repos","events_url":"https://api.github.com/users/sfrdmn/events{/privacy}","received_events_url":"https://api.github.com/users/sfrdmn/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T20:02:23Z","updated_at":"2015-05-11T20:02:23Z","body":"Hmm well guess I was wrong on that `decode.pipe(encode)` example, since the decoder spits out RGB colorspace data. Still, any ideas on how to do a sort of identity transform from GIF to GIF without reindexing colors would be much appreciated!"}}