Skip to content

Commit

Permalink
fix(ui): use camera white balance for raw images
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanVoxel committed Jan 29, 2025
1 parent 275cd1b commit 6ee5304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagstudio/src/qt/widgets/thumb_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ def _image_raw_thumb(self, filepath: Path) -> Image.Image:
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]),
Expand Down

0 comments on commit 6ee5304

Please sign in to comment.