{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1375","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1375/comments","events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1375/events","html_url":"https://github.com/scikit-image/scikit-image/pull/1375","id":57881225,"number":1375,"title":"Fix compatibility with PIL","user":{"login":"tonysyu","id":133031,"avatar_url":"https://avatars.githubusercontent.com/u/133031?v=3","gravatar_id":"","url":"https://api.github.com/users/tonysyu","html_url":"https://github.com/tonysyu","followers_url":"https://api.github.com/users/tonysyu/followers","following_url":"https://api.github.com/users/tonysyu/following{/other_user}","gists_url":"https://api.github.com/users/tonysyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonysyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonysyu/subscriptions","organizations_url":"https://api.github.com/users/tonysyu/orgs","repos_url":"https://api.github.com/users/tonysyu/repos","events_url":"https://api.github.com/users/tonysyu/events{/privacy}","received_events_url":"https://api.github.com/users/tonysyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-17T04:05:52Z","updated_at":"2015-02-17T04:45:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1375","html_url":"https://github.com/scikit-image/scikit-image/pull/1375","diff_url":"https://github.com/scikit-image/scikit-image/pull/1375.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/1375.patch"},"body":"It looks like there was added with the intention of supporting PIL compatibility (vs pillow), but it doesn't look like this was fully tested. (At least it breaks on my system.)"},"comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments/74616595","html_url":"https://github.com/scikit-image/scikit-image/pull/1375#issuecomment-74616595","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1375","id":74616595,"user":{"login":"tonysyu","id":133031,"avatar_url":"https://avatars.githubusercontent.com/u/133031?v=3","gravatar_id":"","url":"https://api.github.com/users/tonysyu","html_url":"https://github.com/tonysyu","followers_url":"https://api.github.com/users/tonysyu/followers","following_url":"https://api.github.com/users/tonysyu/following{/other_user}","gists_url":"https://api.github.com/users/tonysyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonysyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonysyu/subscriptions","organizations_url":"https://api.github.com/users/tonysyu/orgs","repos_url":"https://api.github.com/users/tonysyu/repos","events_url":"https://api.github.com/users/tonysyu/events{/privacy}","received_events_url":"https://api.github.com/users/tonysyu/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T04:45:48Z","updated_at":"2015-02-17T04:45:48Z","body":"Hmm, ... it looks like `tobytes` for numpy arrays is *very* new. That conversion should be tested independently of the `frombytes`/`fromstring` methods in PIL/pillow. (See most recent commit)\r\n\r\nI think it'd be a bit of work to test both Pillow and PIL in Travis CI, since it doesn't look like the travis setup tries to do anything special with versions of dependencies (other than Python versions)."}}