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
I'm on v1.76.1 running on a docker container on unraid.
Probably the file is not supported
A .jpg?
seems like it's related to this https://github.com/libjpeg-turbo/libjpeg-turbo/issues/157
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...
the images can still be decoded by libjpeg, but because it returns -1, libvips treats this warning as an error
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?
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...
Just updated and this unfortunately did not fix the issue.