{"action":"opened","issue":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1309","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1309/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1309/comments","events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1309/events","html_url":"https://github.com/graphite-project/graphite-web/issues/1309","id":103853852,"number":1309,"title":"There is no need to call encodeHeaders for png images","user":{"login":"Civil","id":844380,"avatar_url":"https://avatars.githubusercontent.com/u/844380?v=3","gravatar_id":"","url":"https://api.github.com/users/Civil","html_url":"https://github.com/Civil","followers_url":"https://api.github.com/users/Civil/followers","following_url":"https://api.github.com/users/Civil/following{/other_user}","gists_url":"https://api.github.com/users/Civil/gists{/gist_id}","starred_url":"https://api.github.com/users/Civil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Civil/subscriptions","organizations_url":"https://api.github.com/users/Civil/orgs","repos_url":"https://api.github.com/users/Civil/repos","events_url":"https://api.github.com/users/Civil/events{/privacy}","received_events_url":"https://api.github.com/users/Civil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-29T14:24:56Z","updated_at":"2015-08-29T14:24:56Z","closed_at":null,"body":"It looks like there is no need in calling \"encodeHeader\" for png images.\r\n\r\nIt was added by https://github.com/graphite-project/graphite-web/commit/08be1ba8a465554443af474a924dd8f668abdf72 this commit.\r\n\r\nFunction itself: https://github.com/graphite-project/graphite-web/blob/0.9.x/webapp/graphite/render/glyph.py#L407\r\n\r\nFrom my point of view it draws this text outside of the canvas and it's useless for PNG rendering. I also wonder maybe there is a better way to do whatever it does for PNG images? Maybe it was a limitation of old cairo from 2011?"}}