{"action":"created","issue":{"url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/226","repository_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go","labels_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/226/comments","events_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/226/events","html_url":"https://github.com/OpenBazaar/openbazaar-go/issues/226","id":189524642,"number":226,"title":"Strange SetHeaderImages target dimensions","user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T22:24:22Z","updated_at":"2016-11-15T23:20:44Z","closed_at":null,"body":"The target width and height for `SetHeaderImages` are:\r\n\r\n\tw, h := getImageAttributes(304, 101, imgWidth, imgHeight)\r\n\tw, h = getImageAttributes(608, 202, imgWidth, imgHeight)\r\n\tw, h = getImageAttributes(1225, 350, imgWidth, imgHeight)\r\n\tw, h = getImageAttributes(2450, 700, imgWidth, imgHeight)\r\n\r\nThis seems strange to me because:\r\n\r\n* 304/101 and 608/202 are both almost equal to 3, but off by a few pixels\r\n* 1225/350 and 2450/700 are both exactly equal to 3.5, but do not match the first two\r\n\r\nHow where the target dimensions for `SetHeaderImages` chosen?"},"comment":{"url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/comments/260802384","html_url":"https://github.com/OpenBazaar/openbazaar-go/issues/226#issuecomment-260802384","issue_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/226","id":260802384,"user":{"login":"JustinDrake","id":731743,"avatar_url":"https://avatars.githubusercontent.com/u/731743?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinDrake","html_url":"https://github.com/JustinDrake","followers_url":"https://api.github.com/users/JustinDrake/followers","following_url":"https://api.github.com/users/JustinDrake/following{/other_user}","gists_url":"https://api.github.com/users/JustinDrake/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinDrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinDrake/subscriptions","organizations_url":"https://api.github.com/users/JustinDrake/orgs","repos_url":"https://api.github.com/users/JustinDrake/repos","events_url":"https://api.github.com/users/JustinDrake/events{/privacy}","received_events_url":"https://api.github.com/users/JustinDrake/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T23:20:44Z","updated_at":"2016-11-15T23:20:44Z","body":"Maybe @jjeffryes can comment on the desired resolutions."}}
{"actor":{"display_login":"JustinDrake"}}