mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
use camera wb for raw (#3806)
This commit is contained in:
parent
60729a091a
commit
7ad12c7f33
3 changed files with 11 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ sha256sum -c imagemagick.sha256
|
|||
tar -xvf ${IMAGEMAGICK_VERSION}.tar.gz -C ImageMagick --strip-components=1
|
||||
rm ${IMAGEMAGICK_VERSION}.tar.gz
|
||||
rm imagemagick.sha256
|
||||
patch -u ImageMagick/coders/dng.c -i use-camera-wb.patch
|
||||
cd ImageMagick
|
||||
./configure --with-modules
|
||||
make -j$(nproc)
|
||||
|
|
|
|||
9
server/bin/use-camera-wb.patch
Executable file
9
server/bin/use-camera-wb.patch
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
@@ -339,6 +339,8 @@
|
||||
option=GetImageOption(image_info,"dng:use_camera_wb");
|
||||
if (option != (const char *) NULL)
|
||||
raw_info->params.use_camera_wb=IsStringTrue(option);
|
||||
+ else
|
||||
+ raw_info->params.use_camera_wb=MagickTrue;
|
||||
option=GetImageOption(image_info,"dng:use-auto-wb");
|
||||
if (option == (const char *) NULL)
|
||||
option=GetImageOption(image_info,"dng:use_auto_wb");
|
||||
Loading…
Add table
Add a link
Reference in a new issue