[Feature] Add option to use embedded preview for RAW images #5758
Replies: 4 comments 6 replies
-
This is a good idea, but this would be in addition to the current approach, not a replacement. Many RAW images are rendered well with the sharp pipeline and many don't have high resolution embedded previews. But it's true that in some cases (like with your camera), there is an embedded preview more in line with user expectations, so adding a setting to prefer embedded previews if available would be fine. |
Beta Was this translation helpful? Give feedback.
-
it would be pretty nice to be able to define exactly how thumbnails are extracted on a per-library basis. For example, my camera (Sony a6000) has abysmally small thumbnails (1024px wide), but has an option to shoot ARW+JPEG. The JPEGs are totally usable as thumbnails and have the in-camera color correction and lens distortion correction baked in. I'd personally prefer if my immich library for my camera raws were pointers to the actual ARW files (so pressing download would download the raw), but the thumbnails were generated from the JPEG files. A setting to change the shell command of the thumbnail extractor could be flexible enough to be adaptable to a variety of use cases. |
Beta Was this translation helpful? Give feedback.
-
I would very much like this feature.
We think that the current "When shooting RAW with iPhone, only the RAW is backed up and previewing is done using Sharp's RAW to JPEG conversion" is not good anymore. |
Beta Was this translation helpful? Give feedback.
-
@mertalev This issue would be partially resolved by passing libraw the correct icc profiles or by designing one which fit the ProRAWs rendering intent. In this way it would be possible to produce a full resolution image from a "RAW" file rather than having to extract a lower resolution embedded preview. I would be willing to make a few ICC profiles for the most popular cameras, although Adobe has done most of the legwork: |
Beta Was this translation helpful? Give feedback.
-
The feature
Currently, Immich generates thumbnails for RAW images (DNG, CR2, etc.) using the Sharp library, which processes the entire RAW file. This leads to thumbnails with poor contrast and dimmed highlights. To improve this, Immich should extract the embedded JPEG previews in RAW files using ExifTool, providing more accurate and visually representative thumbnails.
Proposed Change:
Switch thumbnail generation for RAW images to use embedded JPEG previews.
Extract JPEG previews with ExifTool command like: exiftool -b -PreviewImage -w _preview.jpg /path_to_raw_file
For example heres how the image looks in immich:
and heres how the image should actually look like:
Platform
Beta Was this translation helpful? Give feedback.
All reactions