{"action":"closed","number":323,"pull_request":{"url":"https://api.github.com/repos/nothings/stb/pulls/323","id":73872195,"html_url":"https://github.com/nothings/stb/pull/323","diff_url":"https://github.com/nothings/stb/pull/323.diff","patch_url":"https://github.com/nothings/stb/pull/323.patch","issue_url":"https://api.github.com/repos/nothings/stb/issues/323","number":323,"state":"closed","locked":false,"title":"image-write: fix monochrome bitmap writing from 8-bit-buffers","user":{"login":"pboettch","id":442684,"avatar_url":"https://avatars0.githubusercontent.com/u/442684?v=3","gravatar_id":"","url":"https://api.github.com/users/pboettch","html_url":"https://github.com/pboettch","followers_url":"https://api.github.com/users/pboettch/followers","following_url":"https://api.github.com/users/pboettch/following{/other_user}","gists_url":"https://api.github.com/users/pboettch/gists{/gist_id}","starred_url":"https://api.github.com/users/pboettch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pboettch/subscriptions","organizations_url":"https://api.github.com/users/pboettch/orgs","repos_url":"https://api.github.com/users/pboettch/repos","events_url":"https://api.github.com/users/pboettch/events{/privacy}","received_events_url":"https://api.github.com/users/pboettch/received_events","type":"User","site_admin":false},"body":"Now writing out monochrome bitmaps from 8-bit arrays works as it does when using PNG. Bitmaps need 3 bytes per pixel.\n\nI noticed that this was not working when switching from write_png to write_bmp with the same uint8_t-buffer.\n\nFeel free to integrate.\n","created_at":"2016-06-15T08:40:39Z","updated_at":"2017-03-03T16:41:17Z","closed_at":"2017-03-03T16:41:17Z","merged_at":"2017-03-03T16:41:17Z","merge_commit_sha":"734576e6be5ace1eb1064a95d3d25fb783ed237e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nothings/stb/pulls/323/commits","review_comments_url":"https://api.github.com/repos/nothings/stb/pulls/323/comments","review_comment_url":"https://api.github.com/repos/nothings/stb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nothings/stb/issues/323/comments","statuses_url":"https://api.github.com/repos/nothings/stb/statuses/734576e6be5ace1eb1064a95d3d25fb783ed237e","head":{"label":"pboettch:master","ref":"master","sha":"734576e6be5ace1eb1064a95d3d25fb783ed237e","user":{"login":"pboettch","id":442684,"avatar_url":"https://avatars0.githubusercontent.com/u/442684?v=3","gravatar_id":"","url":"https://api.github.com/users/pboettch","html_url":"https://github.com/pboettch","followers_url":"https://api.github.com/users/pboettch/followers","following_url":"https://api.github.com/users/pboettch/following{/other_user}","gists_url":"https://api.github.com/users/pboettch/gists{/gist_id}","starred_url":"https://api.github.com/users/pboettch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pboettch/subscriptions","organizations_url":"https://api.github.com/users/pboettch/orgs","repos_url":"https://api.github.com/users/pboettch/repos","events_url":"https://api.github.com/users/pboettch/events{/privacy}","received_events_url":"https://api.github.com/users/pboettch/received_events","type":"User","site_admin":false},"repo":{"id":61191322,"name":"stb","full_name":"pboettch/stb","owner":{"login":"pboettch","id":442684,"avatar_url":"https://avatars0.githubusercontent.com/u/442684?v=3","gravatar_id":"","url":"https://api.github.com/users/pboettch","html_url":"https://github.com/pboettch","followers_url":"https://api.github.com/users/pboettch/followers","following_url":"https://api.github.com/users/pboettch/following{/other_user}","gists_url":"https://api.github.com/users/pboettch/gists{/gist_id}","starred_url":"https://api.github.com/users/pboettch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pboettch/subscriptions","organizations_url":"https://api.github.com/users/pboettch/orgs","repos_url":"https://api.github.com/users/pboettch/repos","events_url":"https://api.github.com/users/pboettch/events{/privacy}","received_events_url":"https://api.github.com/users/pboettch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pboettch/stb","description":"stb single-file public domain libraries for C/C++","fork":true,"url":"https://api.github.com/repos/pboettch/stb","forks_url":"https://api.github.com/repos/pboettch/stb/forks","keys_url":"https://api.github.com/repos/pboettch/stb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pboettch/stb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pboettch/stb/teams","hooks_url":"https://api.github.com/repos/pboettch/stb/hooks","issue_events_url":"https://api.github.com/repos/pboettch/stb/issues/events{/number}","events_url":"https://api.github.com/repos/pboettch/stb/events","assignees_url":"https://api.github.com/repos/pboettch/stb/assignees{/user}","branches_url":"https://api.github.com/repos/pboettch/stb/branches{/branch}","tags_url":"https://api.github.com/repos/pboettch/stb/tags","blobs_url":"https://api.github.com/repos/pboettch/stb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pboettch/stb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pboettch/stb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pboettch/stb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pboettch/stb/statuses/{sha}","languages_url":"https://api.github.com/repos/pboettch/stb/languages","stargazers_url":"https://api.github.com/repos/pboettch/stb/stargazers","contributors_url":"https://api.github.com/repos/pboettch/stb/contributors","subscribers_url":"https://api.github.com/repos/pboettch/stb/subscribers","subscription_url":"https://api.github.com/repos/pboettch/stb/subscription","commits_url":"https://api.github.com/repos/pboettch/stb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pboettch/stb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pboettch/stb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pboettch/stb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pboettch/stb/contents/{+path}","compare_url":"https://api.github.com/repos/pboettch/stb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pboettch/stb/merges","archive_url":"https://api.github.com/repos/pboettch/stb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pboettch/stb/downloads","issues_url":"https://api.github.com/repos/pboettch/stb/issues{/number}","pulls_url":"https://api.github.com/repos/pboettch/stb/pulls{/number}","milestones_url":"https://api.github.com/repos/pboettch/stb/milestones{/number}","notifications_url":"https://api.github.com/repos/pboettch/stb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pboettch/stb/labels{/name}","releases_url":"https://api.github.com/repos/pboettch/stb/releases{/id}","deployments_url":"https://api.github.com/repos/pboettch/stb/deployments","created_at":"2016-06-15T08:31:24Z","updated_at":"2016-06-15T08:31:26Z","pushed_at":"2016-06-15T08:37:09Z","git_url":"git://github.com/pboettch/stb.git","ssh_url":"git@github.com:pboettch/stb.git","clone_url":"https://github.com/pboettch/stb.git","svn_url":"https://github.com/pboettch/stb","homepage":"","size":2692,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nothings:master","ref":"master","sha":"c9ead07188b342350530e92e14542222c3ad9abe","user":{"login":"nothings","id":7525026,"avatar_url":"https://avatars2.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},"repo":{"id":20159867,"name":"stb","full_name":"nothings/stb","owner":{"login":"nothings","id":7525026,"avatar_url":"https://avatars2.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},"private":false,"html_url":"https://github.com/nothings/stb","description":"stb single-file public domain libraries for C/C++","fork":false,"url":"https://api.github.com/repos/nothings/stb","forks_url":"https://api.github.com/repos/nothings/stb/forks","keys_url":"https://api.github.com/repos/nothings/stb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nothings/stb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nothings/stb/teams","hooks_url":"https://api.github.com/repos/nothings/stb/hooks","issue_events_url":"https://api.github.com/repos/nothings/stb/issues/events{/number}","events_url":"https://api.github.com/repos/nothings/stb/events","assignees_url":"https://api.github.com/repos/nothings/stb/assignees{/user}","branches_url":"https://api.github.com/repos/nothings/stb/branches{/branch}","tags_url":"https://api.github.com/repos/nothings/stb/tags","blobs_url":"https://api.github.com/repos/nothings/stb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nothings/stb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nothings/stb/git/refs{/sha}","trees_url":"https://api.github.com/repos/nothings/stb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nothings/stb/statuses/{sha}","languages_url":"https://api.github.com/repos/nothings/stb/languages","stargazers_url":"https://api.github.com/repos/nothings/stb/stargazers","contributors_url":"https://api.github.com/repos/nothings/stb/contributors","subscribers_url":"https://api.github.com/repos/nothings/stb/subscribers","subscription_url":"https://api.github.com/repos/nothings/stb/subscription","commits_url":"https://api.github.com/repos/nothings/stb/commits{/sha}","git_commits_url":"https://api.github.com/repos/nothings/stb/git/commits{/sha}","comments_url":"https://api.github.com/repos/nothings/stb/comments{/number}","issue_comment_url":"https://api.github.com/repos/nothings/stb/issues/comments{/number}","contents_url":"https://api.github.com/repos/nothings/stb/contents/{+path}","compare_url":"https://api.github.com/repos/nothings/stb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nothings/stb/merges","archive_url":"https://api.github.com/repos/nothings/stb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nothings/stb/downloads","issues_url":"https://api.github.com/repos/nothings/stb/issues{/number}","pulls_url":"https://api.github.com/repos/nothings/stb/pulls{/number}","milestones_url":"https://api.github.com/repos/nothings/stb/milestones{/number}","notifications_url":"https://api.github.com/repos/nothings/stb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nothings/stb/labels{/name}","releases_url":"https://api.github.com/repos/nothings/stb/releases{/id}","deployments_url":"https://api.github.com/repos/nothings/stb/deployments","created_at":"2014-05-25T16:51:23Z","updated_at":"2017-03-03T16:11:15Z","pushed_at":"2017-03-03T16:41:16Z","git_url":"git://github.com/nothings/stb.git","ssh_url":"git@github.com:nothings/stb.git","clone_url":"https://github.com/nothings/stb.git","svn_url":"https://github.com/nothings/stb","homepage":"","size":3212,"stargazers_count":4968,"watchers_count":4968,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":620,"mirror_url":null,"open_issues_count":75,"forks":620,"open_issues":75,"watchers":4968,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nothings/stb/pulls/323"},"html":{"href":"https://github.com/nothings/stb/pull/323"},"issue":{"href":"https://api.github.com/repos/nothings/stb/issues/323"},"comments":{"href":"https://api.github.com/repos/nothings/stb/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/nothings/stb/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/nothings/stb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nothings/stb/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/nothings/stb/statuses/734576e6be5ace1eb1064a95d3d25fb783ed237e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nothings","id":7525026,"avatar_url":"https://avatars2.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},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"nothings"}}