{"action":"created","issue":{"url":"https://api.github.com/repos/ruven/iipsrv/issues/53","labels_url":"https://api.github.com/repos/ruven/iipsrv/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/ruven/iipsrv/issues/53/comments","events_url":"https://api.github.com/repos/ruven/iipsrv/issues/53/events","html_url":"https://github.com/ruven/iipsrv/issues/53","id":125482892,"number":53,"title":" failed display tiff file","user":{"login":"ptk042","id":6606130,"avatar_url":"https://avatars.githubusercontent.com/u/6606130?v=3","gravatar_id":"","url":"https://api.github.com/users/ptk042","html_url":"https://github.com/ptk042","followers_url":"https://api.github.com/users/ptk042/followers","following_url":"https://api.github.com/users/ptk042/following{/other_user}","gists_url":"https://api.github.com/users/ptk042/gists{/gist_id}","starred_url":"https://api.github.com/users/ptk042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptk042/subscriptions","organizations_url":"https://api.github.com/users/ptk042/orgs","repos_url":"https://api.github.com/users/ptk042/repos","events_url":"https://api.github.com/users/ptk042/events{/privacy}","received_events_url":"https://api.github.com/users/ptk042/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ruven","id":776628,"avatar_url":"https://avatars.githubusercontent.com/u/776628?v=3","gravatar_id":"","url":"https://api.github.com/users/ruven","html_url":"https://github.com/ruven","followers_url":"https://api.github.com/users/ruven/followers","following_url":"https://api.github.com/users/ruven/following{/other_user}","gists_url":"https://api.github.com/users/ruven/gists{/gist_id}","starred_url":"https://api.github.com/users/ruven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruven/subscriptions","organizations_url":"https://api.github.com/users/ruven/orgs","repos_url":"https://api.github.com/users/ruven/repos","events_url":"https://api.github.com/users/ruven/events{/privacy}","received_events_url":"https://api.github.com/users/ruven/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-07T20:56:53Z","updated_at":"2016-01-08T17:19:49Z","closed_at":null,"body":"hi,\r\ni have a problem with one tiff file.\r\nthis is a tiffinfo log:\r\n```\r\nTIFF Directory at offset 0x297c4 (169924)\r\n  Image Width: 4096 Image Length: 3364\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 300, 300 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 16\r\n  Planar Configuration: single image plane\r\n  Page Number: 0-7\r\nTIFF Directory at offset 0x37866 (227430)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 2048 Image Length: 1682\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 150, 150 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 32\r\n  Planar Configuration: single image plane\r\n  Page Number: 1-7\r\nTIFF Directory at offset 0x3b6d0 (243408)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 1024 Image Length: 841\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 75, 75 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 64\r\n  Planar Configuration: single image plane\r\n  Page Number: 2-7\r\nTIFF Directory at offset 0x3c328 (246568)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 512 Image Length: 420\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 37.5, 37.5 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 128\r\n  Planar Configuration: single image plane\r\n  Page Number: 3-7\r\nTIFF Directory at offset 0x3c574 (247156)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 256 Image Length: 210\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 18.75, 18.75 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 256\r\n  Planar Configuration: single image plane\r\n  Page Number: 4-7\r\nTIFF Directory at offset 0x3c7b0 (247728)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 128 Image Length: 105\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 9.375, 9.375 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 512\r\n  Planar Configuration: single image plane\r\n  Page Number: 5-7\r\nTIFF Directory at offset 0x3c9f2 (248306)\r\n  Subfile Type: reduced-resolution image (1 = 0x1)\r\n  Image Width: 64 Image Length: 52\r\n  Tile Width: 256 Tile Length: 256\r\n  Resolution: 4.6875, 4.6875 pixels/inch\r\n  Bits/Sample: 1\r\n  Compression Scheme: LZW\r\n  Photometric Interpretation: min-is-black\r\n  FillOrder: msb-to-lsb\r\n  Orientation: row 0 top, col 0 lhs\r\n  Samples/Pixel: 1\r\n  Rows/Strip: 1024\r\n  Planar Configuration: single image plane\r\n  Page Number: 6-7\r\n```\r\nIf I open the file with the file display appears correctly, but if you use iipsrv the file is not displayed correctly, but are displayed pieces of other images.\r\n\r\nthis is the relative path for image /fcgi-bin/iipsrv.fcgi?iiif=/DU/2015/1/tif/13f8633e-05e2-4c5a-b62a-22e66f8d8c61.tif/info.json"},"comment":{"url":"https://api.github.com/repos/ruven/iipsrv/issues/comments/170062910","html_url":"https://github.com/ruven/iipsrv/issues/53#issuecomment-170062910","issue_url":"https://api.github.com/repos/ruven/iipsrv/issues/53","id":170062910,"user":{"login":"ruven","id":776628,"avatar_url":"https://avatars.githubusercontent.com/u/776628?v=3","gravatar_id":"","url":"https://api.github.com/users/ruven","html_url":"https://github.com/ruven","followers_url":"https://api.github.com/users/ruven/followers","following_url":"https://api.github.com/users/ruven/following{/other_user}","gists_url":"https://api.github.com/users/ruven/gists{/gist_id}","starred_url":"https://api.github.com/users/ruven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruven/subscriptions","organizations_url":"https://api.github.com/users/ruven/orgs","repos_url":"https://api.github.com/users/ruven/repos","events_url":"https://api.github.com/users/ruven/events{/privacy}","received_events_url":"https://api.github.com/users/ruven/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T17:19:49Z","updated_at":"2016-01-08T17:19:49Z","body":"Thanks, I got it. The problem is that your image is a 1 bit per pixel bilevel image. At the moment, this works for IIPImage for JPEG2000, but not yet for TIFF."}}