Skip to content

Add compression option for neural restore TIFF output#21435

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

Add compression option for neural restore TIFF output#21435
andriiryzhkov wants to merge 1 commit into
darktable-org:masterfrom
andriiryzhkov:nr_tiff_compressed

Conversation

@andriiryzhkov

Copy link
Copy Markdown
Collaborator

Neural restore's denoise and upscale tasks wrote uncompressed TIFFs – a 24 MP 16-bit file is ~150 MB, a 4× upscale lands near 600 MB. With batch processing that adds up fast.

This adds a compression combo to the output parameters (right after "bit depth"), with the same three options the TIFF export module already exposes:

  • uncompressed
  • deflate
  • deflate with predictor (default – matches export)

The compression level reads from the same conf key the export module's slider writes to (plugins/imageio/format/tiff/compresslevel), so a user who set level 9 globally gets it here too – no duplicate slider needed.

Default cuts file sizes ~50–60%. The combo is hidden for raw denoise since that writes DNG, a separate code path. Worth a follow-up PR.

@andriiryzhkov andriiryzhkov added the scope: AI features AI features related issues and PR label Jun 28, 2026
@TurboGit TurboGit modified the milestones: 5.6.1, 5.8 Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: AI features AI features related issues and PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants