[BUG] Fujifilm RAF files are unsupported #985

Closed
opened 2026-02-04 23:47:52 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @uhthomas on GitHub (Jun 22, 2023).

The bug

Immich allows .raf to be uploaded, but they aren't supported. This is strange as they should be supported by libraw.

immich_microservices     | [Nest] 2075  - 06/22/2023, 2:04:58 AM   ERROR [JobService] Unable to run job handler: Error: Input file contains unsupported image format
immich_microservices     | [Nest] 2075  - 06/22/2023, 2:04:58 AM   ERROR [JobService] Error: Input file contains unsupported image format
immich_microservices     | [Nest] 2075  - 06/22/2023, 2:04:58 AM   ERROR [JobService] Object:
immich_microservices     | {
immich_microservices     |   "id": "4ec8c8fb-764c-4201-a5d7-6b659a9585ce",
immich_microservices     |   "source": "upload"
immich_microservices     | }

The OS that Immich Server is running on

N/A

Version of Immich Server

v1.61.1 (at HEAD)

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

N/A

Additional information

No response

Originally created by @uhthomas on GitHub (Jun 22, 2023). ### The bug Immich allows `.raf` to be uploaded, but they aren't supported. This is strange as they should be supported by [libraw](https://www.libraw.org/). ```sh immich_microservices | [Nest] 2075 - 06/22/2023, 2:04:58 AM ERROR [JobService] Unable to run job handler: Error: Input file contains unsupported image format immich_microservices | [Nest] 2075 - 06/22/2023, 2:04:58 AM ERROR [JobService] Error: Input file contains unsupported image format immich_microservices | [Nest] 2075 - 06/22/2023, 2:04:58 AM ERROR [JobService] Object: immich_microservices | { immich_microservices | "id": "4ec8c8fb-764c-4201-a5d7-6b659a9585ce", immich_microservices | "source": "upload" immich_microservices | } ``` ### The OS that Immich Server is running on N/A ### Version of Immich Server v1.61.1 (at HEAD) ### Version of Immich Mobile App N/A ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash N/A ``` ### Additional information _No response_
OVERLORD added the 🗄️serverformat labels 2026-02-04 23:47:52 +03:00
Author
Owner

@uhthomas commented on GitHub (Jul 3, 2023):

Likely the same issue as https://github.com/libvips/libvips/pull/3546.

@uhthomas commented on GitHub (Jul 3, 2023): Likely the same issue as https://github.com/libvips/libvips/pull/3546.
Author
Owner

@mertalev commented on GitHub (Aug 16, 2023):

It's worth testing this again since we use much newer versions of libvips and Imagemagick now.

@mertalev commented on GitHub (Aug 16, 2023): It's worth testing this again since we use much newer versions of libvips and Imagemagick now.
Author
Owner

@haak commented on GitHub (Aug 19, 2023):

I am running v1.74.0 now, and still see the issue with .RAF files, no thumbnails and images show as missing picture

@haak commented on GitHub (Aug 19, 2023): I am running v1.74.0 now, and still see the issue with .RAF files, no thumbnails and images show as missing picture
Author
Owner

@torphexi commented on GitHub (Oct 15, 2023):

The issue seems to still persist on 1.81.1 any workarounds?

@torphexi commented on GitHub (Oct 15, 2023): The issue seems to still persist on 1.81.1 any workarounds?
Author
Owner

@haak commented on GitHub (Oct 15, 2023):

The issue seems to still persist on 1.81.1 any workarounds?

i have been using Adobe DNG converter to convert to DNG then upload.

@haak commented on GitHub (Oct 15, 2023): > The issue seems to still persist on 1.81.1 any workarounds? i have been using [Adobe DNG converter](https://helpx.adobe.com/camera-raw/using/adobe-dng-converter.html) to convert to DNG then upload.
Author
Owner

@cole21771 commented on GitHub (Oct 31, 2023):

Same issues with 1.83.0. Disappointing to see this not working as an external library viewing of my RAWs is my primary use case for immich

@cole21771 commented on GitHub (Oct 31, 2023): Same issues with `1.83.0`. Disappointing to see this not working as an external library viewing of my RAWs is my primary use case for immich
Author
Owner

@jrasm91 commented on GitHub (Oct 31, 2023):

Pretty sure this is an upstream bug so we are waiting for some stuff to happen there.

@jrasm91 commented on GitHub (Oct 31, 2023): Pretty sure this is an upstream bug so we are waiting for some stuff to happen there.
Author
Owner

@cole21771 commented on GitHub (Oct 31, 2023):

@jrasm91 Is there an issue I can follow on the upstream library?

This (same?) issue seems to suggest it's an immich issue since libraw can identify RAF files just fine
https://github.com/immich-app/immich/issues/3697#issuecomment-1732522870

And I just verified it for myself with an X-H2 which isn't even on the supported cameras list for libraw because it's so new
image

@cole21771 commented on GitHub (Oct 31, 2023): @jrasm91 Is there an issue I can follow on the upstream library? This (same?) issue seems to suggest it's an immich issue since libraw can identify RAF files just fine https://github.com/immich-app/immich/issues/3697#issuecomment-1732522870 And I just verified it for myself with an X-H2 which isn't even on the supported cameras list for libraw because it's so new ![image](https://github.com/immich-app/immich/assets/14830521/aa17f080-db53-44be-a706-513bfb307f8a)
Author
Owner

@jrasm91 commented on GitHub (Oct 31, 2023):

I think it is related to this:

https://github.com/libvips/libvips/discussions/3734

@jrasm91 commented on GitHub (Oct 31, 2023): I think it is related to this: https://github.com/libvips/libvips/discussions/3734
Author
Owner

@haak commented on GitHub (Nov 28, 2023):

Hi has there been any update on this. I am running Server version v1.88.2 and uploading Fuji RAF files still results in no thumbnail or image.

@haak commented on GitHub (Nov 28, 2023): Hi has there been any update on this. I am running Server version v1.88.2 and uploading Fuji RAF files still results in no thumbnail or image.
Author
Owner

@jrasm91 commented on GitHub (Nov 28, 2023):

Looks like vips 8.15 is out. We can try using it and see if it is fixed there.

@jrasm91 commented on GitHub (Nov 28, 2023): Looks like vips 8.15 is out. We can try using it and see if it is fixed there.
Author
Owner

@haak commented on GitHub (Nov 28, 2023):

i would be happy to test out any beta builds, just let me know if you can update to the new vips version and ill test it out.

@haak commented on GitHub (Nov 28, 2023): i would be happy to test out any beta builds, just let me know if you can update to the new vips version and ill test it out.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#985