{"action":"created","issue":{"url":"https://api.github.com/repos/nothings/stb/issues/113","labels_url":"https://api.github.com/repos/nothings/stb/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/nothings/stb/issues/113/comments","events_url":"https://api.github.com/repos/nothings/stb/issues/113/events","html_url":"https://github.com/nothings/stb/issues/113","id":69884752,"number":113,"title":"stb_image and stb_image_write: allow to use zlib for png compression","user":{"login":"guillaumechereau","id":107679,"avatar_url":"https://avatars.githubusercontent.com/u/107679?v=3","gravatar_id":"","url":"https://api.github.com/users/guillaumechereau","html_url":"https://github.com/guillaumechereau","followers_url":"https://api.github.com/users/guillaumechereau/followers","following_url":"https://api.github.com/users/guillaumechereau/following{/other_user}","gists_url":"https://api.github.com/users/guillaumechereau/gists{/gist_id}","starred_url":"https://api.github.com/users/guillaumechereau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillaumechereau/subscriptions","organizations_url":"https://api.github.com/users/guillaumechereau/orgs","repos_url":"https://api.github.com/users/guillaumechereau/repos","events_url":"https://api.github.com/users/guillaumechereau/events{/privacy}","received_events_url":"https://api.github.com/users/guillaumechereau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T16:00:44Z","updated_at":"2015-04-22T01:57:02Z","closed_at":null,"body":"I noticed that the zlib compression in stb_image_write was rather poor compared to what the actual zlib library would do.  For example saving an rgba image filled with the gray color (128,128,128,255) prodices a png of size 42KB.  When I use zlib to compress the data instead of stb algorithm, I get 6.4KB.\r\n\r\nMany projects already use zlib, so I think having the option to use it would be nice, if that is not too much work."},"comment":{"url":"https://api.github.com/repos/nothings/stb/issues/comments/94996775","html_url":"https://github.com/nothings/stb/issues/113#issuecomment-94996775","issue_url":"https://api.github.com/repos/nothings/stb/issues/113","id":94996775,"user":{"login":"nothings","id":7525026,"avatar_url":"https://avatars.githubusercontent.com/u/7525026?v=3","gravatar_id":"","url":"https://api.github.com/users/nothings","html_url":"https://github.com/nothings","followers_url":"https://api.github.com/users/nothings/followers","following_url":"https://api.github.com/users/nothings/following{/other_user}","gists_url":"https://api.github.com/users/nothings/gists{/gist_id}","starred_url":"https://api.github.com/users/nothings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nothings/subscriptions","organizations_url":"https://api.github.com/users/nothings/orgs","repos_url":"https://api.github.com/users/nothings/repos","events_url":"https://api.github.com/users/nothings/events{/privacy}","received_events_url":"https://api.github.com/users/nothings/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T01:57:02Z","updated_at":"2015-04-22T01:57:02Z","body":"This is documented. Use libpng?"}}