[BUG] Sony RAW (.ARW) unsupported #792

Closed
opened 2026-02-04 22:39:14 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @uhthomas on GitHub (Apr 3, 2023).

The bug

I found https://github.com/immich-app/immich/issues/1109, but do not believe the resolution is fair. The Sony RAW format is very popular and is a major blocker for adoption.

The linked libvips issue suggests there is support for the file format, but magickload must be used instead.

The OS that Immich Server is running on

N/A

Version of Immich Server

v1.52.1

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

N/A

Originally created by @uhthomas on GitHub (Apr 3, 2023). ### The bug I found https://github.com/immich-app/immich/issues/1109, but do not believe the resolution is fair. The Sony RAW format is very popular and is a major blocker for adoption. The linked [libvips issue](https://github.com/libvips/libvips/issues/1304) suggests there is support for the file format, but `magickload` must be used instead. ### The OS that Immich Server is running on N/A ### Version of Immich Server v1.52.1 ### 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 N/A
OVERLORD added the 🗄️server label 2026-02-04 22:39:14 +03:00
Author
Owner

@samip5 commented on GitHub (Apr 4, 2023):

Could I have an example file to test with?

@samip5 commented on GitHub (Apr 4, 2023): Could I have an example file to test with?
Author
Owner

@andrewdunndev commented on GitHub (Apr 4, 2023):

Here is a link to an example JPG and RAW file: https://photos.app.goo.gl/fxjPFHKZ274LR6c17

@andrewdunndev commented on GitHub (Apr 4, 2023): Here is a link to an example JPG and RAW file: https://photos.app.goo.gl/fxjPFHKZ274LR6c17
Author
Owner

@samip5 commented on GitHub (Apr 5, 2023):

Here is a link to an example JPG and RAW file: https://photos.app.goo.gl/fxjPFHKZ274LR6c17

Unfortunately, Google Photos will not let me download the .ARW file. Those both come downloaded as JPEG.

@samip5 commented on GitHub (Apr 5, 2023): > Here is a link to an example JPG and RAW file: https://photos.app.goo.gl/fxjPFHKZ274LR6c17 Unfortunately, Google Photos will not let me download the .ARW file. Those both come downloaded as JPEG.
Author
Owner

@uhthomas commented on GitHub (Apr 5, 2023):

@samip5 Please see this ARW image: https://github.com/uhthomas/immich2156/blob/main/_DSC2642.ARW (direct download link: https://github.com/uhthomas/immich2156/raw/main/_DSC2642.ARW).

@uhthomas commented on GitHub (Apr 5, 2023): @samip5 Please see this ARW image: https://github.com/uhthomas/immich2156/blob/main/_DSC2642.ARW (direct download link: https://github.com/uhthomas/immich2156/raw/main/_DSC2642.ARW).
Author
Owner

@uhthomas commented on GitHub (May 25, 2023):

So I've been looking into this and I think it should actually be a really small change, though I did come across a major caveat. Image Magick on Alpine is compiled for ufraw, which is not a valid package on Alpine. The base image may need to use debian instead, at least until the upstream issue is fixed.

See https://gitlab.alpinelinux.org/alpine/aports/-/issues/14957.

@uhthomas commented on GitHub (May 25, 2023): So I've been looking into this and I think it should actually be a really small change, though I did come across a major caveat. Image Magick on Alpine is compiled for ufraw, which is not a valid package on Alpine. The base image may need to use debian instead, at least until the upstream issue is fixed. See https://gitlab.alpinelinux.org/alpine/aports/-/issues/14957.
Author
Owner

@jrasm91 commented on GitHub (May 25, 2023):

Just FYI - On my backlog is to finish #2198, which is trying to integrate darktable-cli which has general support for many different raw formats.

@jrasm91 commented on GitHub (May 25, 2023): Just FYI - On my backlog is to finish #2198, which is trying to integrate darktable-cli which has general support for many different raw formats.
Author
Owner

@uhthomas commented on GitHub (May 25, 2023):

Just FYI - On my backlog is to finish #2198, which is trying to integrate darktable-cli which has general support for many different raw formats.

I wouldn't worry about it. It looks like the alpine authors have already recompiled imagemagick with libraw support. The change for Immich is then just including that package. I think this is preferable to relying on multiple cli tools and keeps the code cleaner. The change should also be less risky.

@uhthomas commented on GitHub (May 25, 2023): > Just FYI - On my backlog is to finish #2198, which is trying to integrate darktable-cli which has general support for many different raw formats. I wouldn't worry about it. It looks like the alpine authors have already recompiled imagemagick with libraw support. The change for Immich is then just including that package. I think this is preferable to relying on multiple cli tools and keeps the code cleaner. The change should also be less risky.
Author
Owner

@jrasm91 commented on GitHub (May 25, 2023):

What does this imply? Will this change add general support for RAW files? If so, I agree that would be preferable.

@jrasm91 commented on GitHub (May 25, 2023): What does this imply? Will this change add general support for RAW files? If so, I agree that would be preferable.
Author
Owner

@uhthomas commented on GitHub (May 25, 2023):

I believe it does, yes. It should support: https://www.libraw.org/supported-cameras.

@uhthomas commented on GitHub (May 25, 2023): I believe it does, yes. It should support: https://www.libraw.org/supported-cameras.
Author
Owner

@jrasm91 commented on GitHub (May 25, 2023):

Great, I'll keep putting it off then 😆 and maybe it will resolve itself.

@jrasm91 commented on GitHub (May 25, 2023): Great, I'll keep putting it off then :laughing: and maybe it will resolve itself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#792