Error Uploading JPGs

I'm trying to upload some jpegs from my daughter's toy camera, and I keep getting an error Error: VipsJpeg: Corrupt JPEG data: 2 extraneous bytes before marker 0xd6. And then it shows a broken image in immich.
8 Replies
linxawakening
linxawakeningOP2y ago
I'm on v1.76.1 running on a docker container on unraid.
Alex Tran
Alex Tran2y ago
Probably the file is not supported
linxawakening
linxawakeningOP2y ago
A .jpg?
sogan
sogan2y ago
GitHub
Cannot open MJPEG image coming from Camera · Issue #157 · libjpeg-t...
Opening the following MJPEG jpg file coming from a Logitech camera doesn't work in libjpeg-turbo. While tjDecompressHeader3 works fine and returns the correct width and height of the image, tjD...
sogan
sogan2y ago
the images can still be decoded by libjpeg, but because it returns -1, libvips treats this warning as an error
linxawakening
linxawakeningOP2y ago
It seems like this was then fixed in the 1.6 API, how would I check out what's being used for Immich and how could I update it locally?
sogan
sogan2y ago
as i understand it, it's more that it allows for throwing an error instead of a warning in these cases. but the issue might actually be fixed with this PR https://github.com/immich-app/immich/pull/3975
GitHub
fix(server): await thumbnail generation before returning by mertale...
Description This is a fix to ensure that the resize method finishes generating the thumbnail before returning. The current behavior returns before sharp finishes the thumbnail, which means there&#3...
linxawakening
linxawakeningOP2y ago
Just updated and this unfortunately did not fix the issue.

Did you find this page helpful?