Skip to content

Show warning on 4BAYER raw denoise preview#21481

Open
andriiryzhkov wants to merge 1 commit into
darktable-org:masterfrom
andriiryzhkov:fix_4bayer_notificaton
Open

Show warning on 4BAYER raw denoise preview#21481
andriiryzhkov wants to merge 1 commit into
darktable-org:masterfrom
andriiryzhkov:fix_4bayer_notificaton

Conversation

@andriiryzhkov

Copy link
Copy Markdown
Collaborator

Follow-up to kofa's review on #21463.

For 4BAYER (CYGM/RGBE) raws, the preview's re-mosaic step has no RGB→CFA mapping – the model runs but its output can't be written back into the mosaic buffer, so before and after look identical in the split view. kofa flagged this: user sees "before / after look the same" and doesn't know why.

Batch processing still works – it uses a demosaic-then-denoise path that writes a Linear DNG directly, no re-mosaic needed. So the preview is the only broken bit.

Fix: red warning bar at the top of the preview for 4BAYER images, using the same mechanism the upscale task uses for "large output" warnings. Text: preview unavailable – process to save result.

@andriiryzhkov andriiryzhkov added this to the 5.6.1 milestone Jul 3, 2026
@andriiryzhkov andriiryzhkov added bugfix pull request fixing a bug scope: AI features AI features related issues and PR labels Jul 3, 2026
@TurboGit

TurboGit commented Jul 3, 2026

Copy link
Copy Markdown
Member

This is introducing a new string, not good to 5.6.1.

@TurboGit TurboGit modified the milestones: 5.6.1, 5.8 Jul 3, 2026
@andriiryzhkov

Copy link
Copy Markdown
Collaborator Author

OK. It could be postponed to 5.8 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix pull request fixing a bug scope: AI features AI features related issues and PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants