{"action":"created","issue":{"url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/300","repository_url":"https://api.github.com/repos/haraldk/TwelveMonkeys","labels_url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/300/comments","events_url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/300/events","html_url":"https://github.com/haraldk/TwelveMonkeys/issues/300","id":191699770,"number":300,"title":"Inconsistent metadata read from stream","user":{"login":"FelixA","id":4763120,"avatar_url":"https://avatars.githubusercontent.com/u/4763120?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixA","html_url":"https://github.com/FelixA","followers_url":"https://api.github.com/users/FelixA/followers","following_url":"https://api.github.com/users/FelixA/following{/other_user}","gists_url":"https://api.github.com/users/FelixA/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixA/subscriptions","organizations_url":"https://api.github.com/users/FelixA/orgs","repos_url":"https://api.github.com/users/FelixA/repos","events_url":"https://api.github.com/users/FelixA/events{/privacy}","received_events_url":"https://api.github.com/users/FelixA/received_events","type":"User","site_admin":false},"labels":[{"id":111925898,"url":"https://api.github.com/repos/haraldk/TwelveMonkeys/labels/Trouble-shooting","name":"Trouble-shooting","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"haraldk","id":110299,"avatar_url":"https://avatars.githubusercontent.com/u/110299?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldk","html_url":"https://github.com/haraldk","followers_url":"https://api.github.com/users/haraldk/followers","following_url":"https://api.github.com/users/haraldk/following{/other_user}","gists_url":"https://api.github.com/users/haraldk/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldk/subscriptions","organizations_url":"https://api.github.com/users/haraldk/orgs","repos_url":"https://api.github.com/users/haraldk/repos","events_url":"https://api.github.com/users/haraldk/events{/privacy}","received_events_url":"https://api.github.com/users/haraldk/received_events","type":"User","site_admin":false},"assignees":[{"login":"haraldk","id":110299,"avatar_url":"https://avatars.githubusercontent.com/u/110299?v=3","gravatar_id":"","url":"https://api.github.com/users/haraldk","html_url":"https://github.com/haraldk","followers_url":"https://api.github.com/users/haraldk/followers","following_url":"https://api.github.com/users/haraldk/following{/other_user}","gists_url":"https://api.github.com/users/haraldk/gists{/gist_id}","starred_url":"https://api.github.com/users/haraldk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haraldk/subscriptions","organizations_url":"https://api.github.com/users/haraldk/orgs","repos_url":"https://api.github.com/users/haraldk/repos","events_url":"https://api.github.com/users/haraldk/events{/privacy}","received_events_url":"https://api.github.com/users/haraldk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-11-25T13:12:45Z","updated_at":"2016-11-28T09:00:49Z","closed_at":null,"body":"Hi,\r\n\r\nI'm getting an error thrown when trying to read specific tiffs with JPEG compression:\r\n\r\nException in thread \"main\" javax.imageio.IIOException: Inconsistent metadata read from stream\r\n\tat com.sun.imageio.plugins.jpeg.JPEGMetadata.<init>(JPEGMetadata.java:362)\r\n\tat com.sun.imageio.plugins.jpeg.JPEGImageReader.getImageMetadata(JPEGImageReader.java:1023)\r\n\tat com.twelvemonkeys.imageio.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1149)\r\n\tat javax.imageio.ImageIO.read(ImageIO.java:1448)\r\n\tat javax.imageio.ImageIO.read(ImageIO.java:1352)\r\n\r\nI'm not quite sure how to on bug-tracking with this issue. Let me know if you need the original file to dive into this issue.\r\n\r\nThanks a lot!\r\n"},"comment":{"url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/comments/263216664","html_url":"https://github.com/haraldk/TwelveMonkeys/issues/300#issuecomment-263216664","issue_url":"https://api.github.com/repos/haraldk/TwelveMonkeys/issues/300","id":263216664,"user":{"login":"FelixA","id":4763120,"avatar_url":"https://avatars.githubusercontent.com/u/4763120?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixA","html_url":"https://github.com/FelixA","followers_url":"https://api.github.com/users/FelixA/followers","following_url":"https://api.github.com/users/FelixA/following{/other_user}","gists_url":"https://api.github.com/users/FelixA/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixA/subscriptions","organizations_url":"https://api.github.com/users/FelixA/orgs","repos_url":"https://api.github.com/users/FelixA/repos","events_url":"https://api.github.com/users/FelixA/events{/privacy}","received_events_url":"https://api.github.com/users/FelixA/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T09:00:49Z","updated_at":"2016-11-28T09:00:49Z","body":"Hello Harald,\r\n\r\nthanks for your extremely fast reply. I do not fully understand your first comment except that the given tif file seems to be quite far away from the actual spec. \r\n\r\nI tried out your first solution and your Default Reader works perfectly fine. I didn't test the reading Speed, but I don't feel any significant Speed loss.\r\n\r\nI will try to find a timeframe to test your second solution as well and give you Feedback on that!\r\n\r\nOne Thing that is a bit strange for me tho is: \r\nWhen I tried to convert the tif to a jpg by cutting off the tif Container, I ended up with a jpg with 705 kb size.\r\nBut reading it and writing it out as a jpg using your library I end up with a 667 kb document. Just by guessing, do you delete any additional metadata about the document? I didn't try out comparing the Pixels yet, but it at least feels like there hasn't been any Quality loss.\r\n\r\nAnyways, thanks a lot for your Response! "}}
{"actor":{"display_login":"FelixA"}}