{"action":"closed","issue":{"url":"https://api.github.com/repos/martinberlin/FS2/issues/2","repository_url":"https://api.github.com/repos/martinberlin/FS2","labels_url":"https://api.github.com/repos/martinberlin/FS2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/martinberlin/FS2/issues/2/comments","events_url":"https://api.github.com/repos/martinberlin/FS2/issues/2/events","html_url":"https://github.com/martinberlin/FS2/issues/2","id":378349308,"node_id":"MDU6SXNzdWUzNzgzNDkzMDg=","number":2,"title":"Json response to display XBM thumbnail","user":{"login":"martinberlin","id":2692928,"node_id":"MDQ6VXNlcjI2OTI5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/2692928?v=4","gravatar_id":"","url":"https://api.github.com/users/martinberlin","html_url":"https://github.com/martinberlin","followers_url":"https://api.github.com/users/martinberlin/followers","following_url":"https://api.github.com/users/martinberlin/following{/other_user}","gists_url":"https://api.github.com/users/martinberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/martinberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinberlin/subscriptions","organizations_url":"https://api.github.com/users/martinberlin/orgs","repos_url":"https://api.github.com/users/martinberlin/repos","events_url":"https://api.github.com/users/martinberlin/events{/privacy}","received_events_url":"https://api.github.com/users/martinberlin/received_events","type":"User","site_admin":false},"labels":[{"id":1089704675,"node_id":"MDU6TGFiZWwxMDg5NzA0Njc1","url":"https://api.github.com/repos/martinberlin/FS2/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"martinberlin","id":2692928,"node_id":"MDQ6VXNlcjI2OTI5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/2692928?v=4","gravatar_id":"","url":"https://api.github.com/users/martinberlin","html_url":"https://github.com/martinberlin","followers_url":"https://api.github.com/users/martinberlin/followers","following_url":"https://api.github.com/users/martinberlin/following{/other_user}","gists_url":"https://api.github.com/users/martinberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/martinberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinberlin/subscriptions","organizations_url":"https://api.github.com/users/martinberlin/orgs","repos_url":"https://api.github.com/users/martinberlin/repos","events_url":"https://api.github.com/users/martinberlin/events{/privacy}","received_events_url":"https://api.github.com/users/martinberlin/received_events","type":"User","site_admin":false},"assignees":[{"login":"martinberlin","id":2692928,"node_id":"MDQ6VXNlcjI2OTI5Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/2692928?v=4","gravatar_id":"","url":"https://api.github.com/users/martinberlin","html_url":"https://github.com/martinberlin","followers_url":"https://api.github.com/users/martinberlin/followers","following_url":"https://api.github.com/users/martinberlin/following{/other_user}","gists_url":"https://api.github.com/users/martinberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/martinberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinberlin/subscriptions","organizations_url":"https://api.github.com/users/martinberlin/orgs","repos_url":"https://api.github.com/users/martinberlin/repos","events_url":"https://api.github.com/users/martinberlin/events{/privacy}","received_events_url":"https://api.github.com/users/martinberlin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-07T15:52:45Z","updated_at":"2018-11-09T10:37:51Z","closed_at":"2018-11-09T10:37:51Z","author_association":"OWNER","body":"JSON Sample:\r\nhttps://github.com/martinberlin/esp/blob/master/oled-128x64-xbm/data/1.json\r\n\r\nAdditional parameters: \r\nthumb_width: INT\r\nthumb_height: INT\r\nurl:  Full image URL (That we can render in the web interface)\r\n\r\nWe will read the JSON xbm content and overwrite a predefined XBM array. Lastly we will render it on the display using [drawXBM function](https://github.com/olikraus/u8g2/wiki/u8g2reference#drawxbm)\r\n\r\nThis will work on most ESP32 but doing it this way requires a lot of iteration (Reading every one of the pixels, passing the HEX string to int value and reading about 4Kb of JSON)\r\nSo I though maybe a best idea would be to make a binary JSON, with an XBM array only with 0 or 1, and just draw the image using a for loop and drawPixel. \r\n"}}
{"actor":{"display_login":"martinberlin"}}