{"action":"created","issue":{"url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/21","labels_url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/21/comments","events_url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/21/events","html_url":"https://github.com/FLIF-hub/FLIF/issues/21","id":109625927,"number":21,"title":"Poly-fill and web-demo for FLIF","user":{"login":"hrj","id":345879,"avatar_url":"https://avatars.githubusercontent.com/u/345879?v=3","gravatar_id":"","url":"https://api.github.com/users/hrj","html_url":"https://github.com/hrj","followers_url":"https://api.github.com/users/hrj/followers","following_url":"https://api.github.com/users/hrj/following{/other_user}","gists_url":"https://api.github.com/users/hrj/gists{/gist_id}","starred_url":"https://api.github.com/users/hrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrj/subscriptions","organizations_url":"https://api.github.com/users/hrj/orgs","repos_url":"https://api.github.com/users/hrj/repos","events_url":"https://api.github.com/users/hrj/events{/privacy}","received_events_url":"https://api.github.com/users/hrj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-03T14:42:28Z","updated_at":"2015-10-08T05:57:43Z","closed_at":null,"body":"I have created a poly-fill / playground for FLIF, using emscripten.\r\n\r\n[Code](https://github.com/UprootLabs/poly-flif)\r\n\r\n[Demo](https://uprootlabs.github.io/poly-flif/)\r\n\r\nIt's not perfect; there is a memory leak.. so it runs out of memory after couple of renderings of the large image.\r\n\r\nFeedback welcome!"},"comment":{"url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/comments/146428346","html_url":"https://github.com/FLIF-hub/FLIF/issues/21#issuecomment-146428346","issue_url":"https://api.github.com/repos/FLIF-hub/FLIF/issues/21","id":146428346,"user":{"login":"hrj","id":345879,"avatar_url":"https://avatars.githubusercontent.com/u/345879?v=3","gravatar_id":"","url":"https://api.github.com/users/hrj","html_url":"https://github.com/hrj","followers_url":"https://api.github.com/users/hrj/followers","following_url":"https://api.github.com/users/hrj/following{/other_user}","gists_url":"https://api.github.com/users/hrj/gists{/gist_id}","starred_url":"https://api.github.com/users/hrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrj/subscriptions","organizations_url":"https://api.github.com/users/hrj/orgs","repos_url":"https://api.github.com/users/hrj/repos","events_url":"https://api.github.com/users/hrj/events{/privacy}","received_events_url":"https://api.github.com/users/hrj/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T05:57:43Z","updated_at":"2015-10-08T05:57:43Z","body":"Update:\r\n\r\n* Added animation support to the demo. All frames in the source are decoded together and then played back in a loop. The playback is fast, but the decoding needs more work.\r\n* Stripped the `gamma` info from PNGs in the demo. Please let me know if that fixes the colors in the comparison.\r\n* JS size remains almost the same. However, I realised that there is a separate memory layout file created by emscripten, which needs to be accounted for. This file contains global data declared in the C++ code. It was 16KB to begin with. @sipa removed a lookup-table and the size was reduced by 1KB. There is one more 8KB table which can [perhaps be nuked](https://github.com/FLIF-hub/FLIF/issues/66)."}}