[BUG] Problem generating RAW thumbnails #1607

Closed
opened 2026-02-05 02:37:56 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @traktuner on GitHub (Nov 13, 2023).

The bug

Hey,
recently a PR was merged ( #2834 ) but it seems that there are still issues with thumbnail generation - at least for me.
Those are the errors I get when I click a picture with a "broken image" thumbnail and click "refresh thumbnails":

[Nest] 1547  - 11/13/2023, 8:06:04 AM   ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: Input file has corrupt header: MissingRequired: TIFF directory is missing required "ImageLength" field
tiff2vips: subsampled images not supported
[Nest] 1547  - 11/13/2023, 8:06:04 AM   ERROR [JobService] Error: Input file has corrupt header: MissingRequired: TIFF directory is missing required "ImageLength" field
tiff2vips: subsampled images not supported
[Nest] 1547  - 11/13/2023, 8:06:04 AM   ERROR [JobService] Object:
{
  "id": "adc21c25-2016-413e-a14c-b35603045204"
}

The strange part: I have thousands of pictures with that camera setup. Many work, many don't.
The pictures are part of an external library.

Testfile - NOK:
Edit: Testfile removed

Testfile - OK:
Edit: Testfile removed

Hope someone can shed some light into this!

The OS that Immich Server is running on

Docker

Version of Immich Server

v1.85.0

Version of Immich Mobile App

v1.85.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

AIO from imagegenius

Your .env content

not relevant

Reproduction steps

1.
2.
3.
...

Additional information

No response

Originally created by @traktuner on GitHub (Nov 13, 2023). ### The bug Hey, recently a PR was merged ( #2834 ) but it seems that there are still issues with thumbnail generation - at least for me. Those are the errors I get when I click a picture with a "broken image" thumbnail and click "refresh thumbnails": ``` [Nest] 1547 - 11/13/2023, 8:06:04 AM ERROR [JobService] Unable to run job handler (thumbnailGeneration/generate-jpeg-thumbnail): Error: Input file has corrupt header: MissingRequired: TIFF directory is missing required "ImageLength" field tiff2vips: subsampled images not supported [Nest] 1547 - 11/13/2023, 8:06:04 AM ERROR [JobService] Error: Input file has corrupt header: MissingRequired: TIFF directory is missing required "ImageLength" field tiff2vips: subsampled images not supported [Nest] 1547 - 11/13/2023, 8:06:04 AM ERROR [JobService] Object: { "id": "adc21c25-2016-413e-a14c-b35603045204" } ``` The strange part: I have thousands of pictures with that camera setup. Many work, many don't. The pictures are part of an external library. Testfile - NOK: Edit: Testfile removed Testfile - OK: Edit: Testfile removed Hope someone can shed some light into this! ### The OS that Immich Server is running on Docker ### Version of Immich Server v1.85.0 ### Version of Immich Mobile App v1.85.0 ### Platform with the issue - [X] Server - [X] Web - [X] Mobile ### Your docker-compose.yml content ```YAML AIO from imagegenius ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps ```bash 1. 2. 3. ... ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1607