-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problematic JPEG image #22
Comments
Did not work for me too, here is an exception if it helps java.lang.NullPointerException |
Hmmm..
As always, thanks for reporting and providing test a case! .k |
Hi Marcus, Less time in my day job these days to fix issues like this.. But I finally found some time today, and identified the problem. There seems to a lot of trash/padding Harald K |
Hi Harald, thanks for your effort so far. I just wonder how many different JPEG spec violations are out there that must be considered... seems like an unsolvable task to me :-( |
Well.. If I only knew upfront all the different spec violations there was... I made the reader able to read your image. I just want to provide better warning feedback to the listeners and clean things up a little before checking in. Side note: The (Exif?) thumbnail seems broken (correct data bout 2/3 down, then nothing). Is this the case in other software too? Best regards, Harald K |
Just pushed a fix. |
Thanks! ...and yes, you're right. It seems MacOS uses the damaged embedded thumbnail while rendering the file (preview) icon. |
Cool. I'm home free then. ;-) |
Thanks for this fix and the great job you have done with this library! |
Has this fix been released? I see a similar issue with 3.0 but didn't check 3.0.2 yet. Will do so now... |
Alright... I got a NPE at
But the reason for this was that the image with a jpeg extension was actually a png. Changing the extension the png fixed the problem. Should I file a new issue for that? |
@huxi My plugins does not do file format recognition by looking at file extensions, so I'm not sure how that happened... But yes, file an issue, with the code you are using and attach the image you used, and I'll look into it. The original issue has been fixed, at least both 3.0.1 and 3.0.2 has no problems reading the linked image. Harald K |
Hi Harald,
just found another image that can't be read with the JPEGImageReader. Maybe you will find some time to take a look. Not able to upload it here. Seems github has some problems with it also.
https://dl.dropboxusercontent.com/u/13086504/content.jpg
Cheers
The text was updated successfully, but these errors were encountered: