fix(ui): use camera white balance for raw images

This commit is contained in:
Travis Abendshien
2025-01-29 00:34:32 -08:00
parent 275cd1b20e
commit 6ee5304b52

View File

@@ -773,7 +773,7 @@ class ThumbRenderer(QObject):
im: Image.Image = None
try:
with rawpy.imread(str(filepath)) as raw:
rgb = raw.postprocess()
rgb = raw.postprocess(use_camera_wb=True)
im = Image.frombytes(
"RGB",
(rgb.shape[1], rgb.shape[0]),