{"action":"created","issue":{"url":"https://api.github.com/repos/silx-kit/fabio/issues/232","repository_url":"https://api.github.com/repos/silx-kit/fabio","labels_url":"https://api.github.com/repos/silx-kit/fabio/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/silx-kit/fabio/issues/232/comments","events_url":"https://api.github.com/repos/silx-kit/fabio/issues/232/events","html_url":"https://github.com/silx-kit/fabio/issues/232","id":333553017,"node_id":"MDU6SXNzdWUzMzM1NTMwMTc=","number":232,"title":"pb opening tiff file using Fabio","user":{"login":"gourrier","id":40382435,"node_id":"MDQ6VXNlcjQwMzgyNDM1","avatar_url":"https://avatars0.githubusercontent.com/u/40382435?v=4","gravatar_id":"","url":"https://api.github.com/users/gourrier","html_url":"https://github.com/gourrier","followers_url":"https://api.github.com/users/gourrier/followers","following_url":"https://api.github.com/users/gourrier/following{/other_user}","gists_url":"https://api.github.com/users/gourrier/gists{/gist_id}","starred_url":"https://api.github.com/users/gourrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gourrier/subscriptions","organizations_url":"https://api.github.com/users/gourrier/orgs","repos_url":"https://api.github.com/users/gourrier/repos","events_url":"https://api.github.com/users/gourrier/events{/privacy}","received_events_url":"https://api.github.com/users/gourrier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"vallsv","id":7579321,"node_id":"MDQ6VXNlcjc1NzkzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7579321?v=4","gravatar_id":"","url":"https://api.github.com/users/vallsv","html_url":"https://github.com/vallsv","followers_url":"https://api.github.com/users/vallsv/followers","following_url":"https://api.github.com/users/vallsv/following{/other_user}","gists_url":"https://api.github.com/users/vallsv/gists{/gist_id}","starred_url":"https://api.github.com/users/vallsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallsv/subscriptions","organizations_url":"https://api.github.com/users/vallsv/orgs","repos_url":"https://api.github.com/users/vallsv/repos","events_url":"https://api.github.com/users/vallsv/events{/privacy}","received_events_url":"https://api.github.com/users/vallsv/received_events","type":"User","site_admin":false},"assignees":[{"login":"vallsv","id":7579321,"node_id":"MDQ6VXNlcjc1NzkzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7579321?v=4","gravatar_id":"","url":"https://api.github.com/users/vallsv","html_url":"https://github.com/vallsv","followers_url":"https://api.github.com/users/vallsv/followers","following_url":"https://api.github.com/users/vallsv/following{/other_user}","gists_url":"https://api.github.com/users/vallsv/gists{/gist_id}","starred_url":"https://api.github.com/users/vallsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallsv/subscriptions","organizations_url":"https://api.github.com/users/vallsv/orgs","repos_url":"https://api.github.com/users/vallsv/repos","events_url":"https://api.github.com/users/vallsv/events{/privacy}","received_events_url":"https://api.github.com/users/vallsv/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/silx-kit/fabio/milestones/7","html_url":"https://github.com/silx-kit/fabio/milestone/7","labels_url":"https://api.github.com/repos/silx-kit/fabio/milestones/7/labels","id":3065928,"node_id":"MDk6TWlsZXN0b25lMzA2NTkyOA==","number":7,"title":"0.6.1","description":null,"creator":{"login":"vallsv","id":7579321,"node_id":"MDQ6VXNlcjc1NzkzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7579321?v=4","gravatar_id":"","url":"https://api.github.com/users/vallsv","html_url":"https://github.com/vallsv","followers_url":"https://api.github.com/users/vallsv/followers","following_url":"https://api.github.com/users/vallsv/following{/other_user}","gists_url":"https://api.github.com/users/vallsv/gists{/gist_id}","starred_url":"https://api.github.com/users/vallsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallsv/subscriptions","organizations_url":"https://api.github.com/users/vallsv/orgs","repos_url":"https://api.github.com/users/vallsv/repos","events_url":"https://api.github.com/users/vallsv/events{/privacy}","received_events_url":"https://api.github.com/users/vallsv/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"closed","created_at":"2018-01-26T10:12:45Z","updated_at":"2018-07-02T07:16:32Z","due_on":null,"closed_at":"2018-07-02T07:16:32Z"},"comments":7,"created_at":"2018-06-19T07:38:48Z","updated_at":"2018-08-28T13:34:36Z","closed_at":"2018-06-25T15:48:18Z","author_association":"NONE","body":"I rely on Fabio for file input but I regularly run into problems when reading tiff files. I attach an example below.\r\nQ1: I don't really understand what the pb is here, the size does match...\r\nQ2: it seems that PIL somehow modifies the output (the statistics of the loaded array doesn't match with this of the image loaded with ImageJ). What is done exactly when falling back onto PIL ? I use pillow 5.0.0\r\n\r\nThe test file can be downloaded from: https://www.dropbox.com/s/jcbd73shy7aascv/_0001_C1_DEJ_equal_0060.tif?dl=0\r\n\r\n---\r\n#using v 0.6.0 under python 2.7.14\r\nimport fabio\r\n\r\nfname = 'D:/Temp/_0001_C1_DEJ_equal_0060.tif'\r\n\r\ndataarr = fabio.openimage.openimage(fname).data\r\n\r\n>>WARNING:fabio.TiffIO:Bogus StripByteCounts information\r\nWARNING:fabio.tifimage:Unable to read h:\\Dentin\\ZoneModele_0001_C1_DEJ\\ZoneModele_0001_C1_DEJ\\Seuillage\\MyTests\\_0001_C1_DEJ_equal\\_0001_C1_DEJ_equal_0060.tif with TiffIO due to could not broadcast input array from shape (17304000,3) into shape (8400,2060,3), trying PIL"},"comment":{"url":"https://api.github.com/repos/silx-kit/fabio/issues/comments/416585896","html_url":"https://github.com/silx-kit/fabio/issues/232#issuecomment-416585896","issue_url":"https://api.github.com/repos/silx-kit/fabio/issues/232","id":416585896,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU4NTg5Ng==","user":{"login":"gourrier","id":40382435,"node_id":"MDQ6VXNlcjQwMzgyNDM1","avatar_url":"https://avatars0.githubusercontent.com/u/40382435?v=4","gravatar_id":"","url":"https://api.github.com/users/gourrier","html_url":"https://github.com/gourrier","followers_url":"https://api.github.com/users/gourrier/followers","following_url":"https://api.github.com/users/gourrier/following{/other_user}","gists_url":"https://api.github.com/users/gourrier/gists{/gist_id}","starred_url":"https://api.github.com/users/gourrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gourrier/subscriptions","organizations_url":"https://api.github.com/users/gourrier/orgs","repos_url":"https://api.github.com/users/gourrier/repos","events_url":"https://api.github.com/users/gourrier/events{/privacy}","received_events_url":"https://api.github.com/users/gourrier/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T13:34:36Z","updated_at":"2018-08-28T13:34:36Z","author_association":"NONE","body":"@vallsv with some delay: yes (for using the image) and thanks !"}}
{"actor":{"display_login":"gourrier"}}