{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/1090","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1090/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1090/events","html_url":"https://github.com/python-pillow/Pillow/issues/1090","id":55752460,"number":1090,"title":"Consider implementing _repr_png_ for the Image object","user":{"login":"payne92","id":638998,"avatar_url":"https://avatars.githubusercontent.com/u/638998?v=3","gravatar_id":"","url":"https://api.github.com/users/payne92","html_url":"https://github.com/payne92","followers_url":"https://api.github.com/users/payne92/followers","following_url":"https://api.github.com/users/payne92/following{/other_user}","gists_url":"https://api.github.com/users/payne92/gists{/gist_id}","starred_url":"https://api.github.com/users/payne92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payne92/subscriptions","organizations_url":"https://api.github.com/users/payne92/orgs","repos_url":"https://api.github.com/users/payne92/repos","events_url":"https://api.github.com/users/payne92/events{/privacy}","received_events_url":"https://api.github.com/users/payne92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-28T12:51:23Z","updated_at":"2015-01-28T17:55:03Z","closed_at":null,"body":"Given the popularity of IPython, consider implementing a _repr_png_() method for the Image object, which just returns the object in PNG form.  If this method exists on an object, the IPython notebook will display the rich image representation in-line.\r\n\r\nSee: http://nbviewer.ipython.org/github/adrn/ipython/blob/1.x/examples/notebooks/Part%205%20-%20Rich%20Display%20System.ipynb\r\n\r\nThis can be done without dependency on or reference to IPython."},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/71882014","html_url":"https://github.com/python-pillow/Pillow/issues/1090#issuecomment-71882014","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1090","id":71882014,"user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T17:55:03Z","updated_at":"2015-01-28T17:55:03Z","body":"The problem was GitHub interpreted the underscores as italic markup. I've edited to put backticks ` to make sure it's in code markup!"}}