{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/image-sequencer/issues/285","repository_url":"https://api.github.com/repos/publiclab/image-sequencer","labels_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/285/comments","events_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/285/events","html_url":"https://github.com/publiclab/image-sequencer/issues/285","id":330074484,"node_id":"MDU6SXNzdWUzMzAwNzQ0ODQ=","number":285,"title":"Colorbar generation module","user":{"login":"jywarren","id":24359,"node_id":"MDQ6VXNlcjI0MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/24359?v=4","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"labels":[{"id":553129420,"node_id":"MDU6TGFiZWw1NTMxMjk0MjA=","url":"https://api.github.com/repos/publiclab/image-sequencer/labels/enhancement","name":"enhancement","color":"f9d0c4","default":true},{"id":640814814,"node_id":"MDU6TGFiZWw2NDA4MTQ4MTQ=","url":"https://api.github.com/repos/publiclab/image-sequencer/labels/new-feature","name":"new-feature","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-06-07T00:12:07Z","updated_at":"2018-08-04T13:31:23Z","closed_at":null,"author_association":"NONE","body":"That generates a color bar to overlay on an image (useful in showing scales with the `colormap` module) -- this could start by mapping pixel `x` values to a gradient from 0 to 100% brightness, then run the `colormap` module on it, then overlay this image at some location on another image. \r\n\r\nThis might take a few more new modules -- or something like the `blend` module but that overlays an image at a `x, y, w, h`?\r\n\r\nThe gradient could be done with the dynamic module, which does have an `x` and `y` pixel location to work with, although we'd need to be sure it had access to the image width?\r\n\r\nTo save time, the color bar could be generated at only 1 pixel tall. "},"comment":{"url":"https://api.github.com/repos/publiclab/image-sequencer/issues/comments/410449711","html_url":"https://github.com/publiclab/image-sequencer/issues/285#issuecomment-410449711","issue_url":"https://api.github.com/repos/publiclab/image-sequencer/issues/285","id":410449711,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ0OTcxMQ==","user":{"login":"tech4GT","id":25617855,"node_id":"MDQ6VXNlcjI1NjE3ODU1","avatar_url":"https://avatars0.githubusercontent.com/u/25617855?v=4","gravatar_id":"","url":"https://api.github.com/users/tech4GT","html_url":"https://github.com/tech4GT","followers_url":"https://api.github.com/users/tech4GT/followers","following_url":"https://api.github.com/users/tech4GT/following{/other_user}","gists_url":"https://api.github.com/users/tech4GT/gists{/gist_id}","starred_url":"https://api.github.com/users/tech4GT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tech4GT/subscriptions","organizations_url":"https://api.github.com/users/tech4GT/orgs","repos_url":"https://api.github.com/users/tech4GT/repos","events_url":"https://api.github.com/users/tech4GT/events{/privacy}","received_events_url":"https://api.github.com/users/tech4GT/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T13:31:23Z","updated_at":"2018-08-04T13:31:23Z","author_association":"MEMBER","body":"@jywarren I'll take the height as an input then, what say?"}}
{"actor":{"display_login":"tech4GT"}}