-
Notifications
You must be signed in to change notification settings - Fork 73
PelDataWindow.php: Offset -1 not within [0, 1] #141
Comments
I just saw that this is pretty much a duplicate from nextcloud/maps#96 which is then fixed in nextcloud/maps#91. |
the issue is just gracefully handled in nextcloud and not fixed. It should be fixed here. I've been looking into this issue because I'm encountering it with drupal file_mdm module (https://www.drupal.org/project/file_mdm/issues/3271212). What I know so far is that the exif Orientation is causing it. Similarly as the image above the imagemagick identify return 1 for exif Orientation but PelJpeg is erroring out with (PelDataWindow::validateOffset):
|
So here's the output with loading the image with Pel::setDebug(TRUE);
|
I think I've found the error: |
Here's a PR that tries to address this issue: #200 |
Hello, I'd like to give this issue another push. I've noticed some more Probably we have to look more where Images that are causing the issue: |
During scan process of https://github.com/nextcloud/maps which uses
"lsolesen/pel": "^0.9.6"
it crashes at the same picture every time with the following error message:I do not exactly know what's wrong but here is some information i was able to gather:
I extracted the exif data with imagemagick:
Additionally i attached the image here:
The text was updated successfully, but these errors were encountered: