{"action":"created","issue":{"url":"https://api.github.com/repos/google/zopfli/issues/42","repository_url":"https://api.github.com/repos/google/zopfli","labels_url":"https://api.github.com/repos/google/zopfli/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/google/zopfli/issues/42/comments","events_url":"https://api.github.com/repos/google/zopfli/issues/42/events","html_url":"https://github.com/google/zopfli/issues/42","id":60324384,"number":42,"title":"ZopFli ZLIB mode sets the wrong fLevel byte in ZLIB header","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/zopfli/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/google/zopfli/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/google/zopfli/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T10:33:13Z","updated_at":"2016-02-22T10:20:03Z","closed_at":"2016-02-22T10:20:03Z","body":"```\nWhat steps will reproduce the problem?\n1. Run zopfli -zlib\n2. Examine second byte of output\n3. It's 01, indicating minimal compression\n\nWhat is the expected output? What do you see instead?\n\nExpect that maximal compression value is shown.\n\nzlibcontainer.c line 56 is:\n\n  unsigned flevel = 0;\n\nshould be:\n\n   unsigned flevel = 3;\n\nhttps://www.ietf.org/rfc/rfc1950.txt\n\nFLEVEL (Compression level)\nThese flags are available for use by specific compression\nmethods.  The \"deflate\" method (CM = 8) sets these flags as\nfollows:\n\n   0 - compressor used fastest algorithm\n   1 - compressor used fast algorithm\n   2 - compressor used default algorithm\n   3 - compressor used maximum compression, slowest algorithm\n\n```\n\nOriginal issue reported on code.google.com by `bay...@gmail.com` on 13 Oct 2014 at 2:54"},"comment":{"url":"https://api.github.com/repos/google/zopfli/issues/comments/187108636","html_url":"https://github.com/google/zopfli/issues/42#issuecomment-187108636","issue_url":"https://api.github.com/repos/google/zopfli/issues/42","id":187108636,"user":{"login":"lvandeve","id":4254201,"avatar_url":"https://avatars.githubusercontent.com/u/4254201?v=3","gravatar_id":"","url":"https://api.github.com/users/lvandeve","html_url":"https://github.com/lvandeve","followers_url":"https://api.github.com/users/lvandeve/followers","following_url":"https://api.github.com/users/lvandeve/following{/other_user}","gists_url":"https://api.github.com/users/lvandeve/gists{/gist_id}","starred_url":"https://api.github.com/users/lvandeve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvandeve/subscriptions","organizations_url":"https://api.github.com/users/lvandeve/orgs","repos_url":"https://api.github.com/users/lvandeve/repos","events_url":"https://api.github.com/users/lvandeve/events{/privacy}","received_events_url":"https://api.github.com/users/lvandeve/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T10:20:02Z","updated_at":"2016-02-22T10:20:02Z","body":"Fixed :)"}}