diff --git a/modules/processing_grading.py b/modules/processing_grading.py index c0fe0fe09..055e72de7 100644 --- a/modules/processing_grading.py +++ b/modules/processing_grading.py @@ -244,6 +244,7 @@ def grade_image(image: Image.Image, params: GradingParams) -> Image.Image: tensor = tensor.clamp(0, 1) arr = (tensor.squeeze(0).permute(1, 2, 0).float().cpu().numpy() * 255).astype(np.uint8) result = Image.fromarray(arr) + result.info = image.info.copy() # Image.fromarray drops info; preserve so Process-tab metadata survives grading # LUT applied last (CPU, via pillow-lut-tools) if params.lut_cube_file: