immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Fujifilm RAF files are unsupported

Open uhthomas opened this issue 1 year ago • 1 comments

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

  • [X] Server
  • [ ] Web
  • [ ] Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

N/A

Additional information

No response

uhthomas avatar Jun 22 '23 02:06 uhthomas

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

uhthomas avatar Jul 03 '23 17:07 uhthomas

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

mertalev avatar Aug 16 '23 05:08 mertalev

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

haak avatar Aug 19 '23 12:08 haak

The issue seems to still persist on 1.81.1 any workarounds?

torphexi avatar Oct 15 '23 20:10 torphexi

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 avatar Oct 15 '23 20:10 haak

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 avatar Oct 31 '23 07:10 cole21771

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

jrasm91 avatar Oct 31 '23 15:10 jrasm91

@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 avatar Oct 31 '23 17:10 cole21771

I think it is related to this:

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

jrasm91 avatar Oct 31 '23 18:10 jrasm91

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 avatar Nov 28 '23 10:11 haak

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

jrasm91 avatar Nov 28 '23 12:11 jrasm91

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 avatar Nov 28 '23 13:11 haak