Skip to content

feat(output): fill outside page box (#92) - #140

Merged
pablogventura merged 3 commits into
ScanTailor-Advanced:masterfrom
pablogventura:fix/issue-92-fill-outside-page-box
Apr 21, 2026
Merged

feat(output): fill outside page box (#92)#140
pablogventura merged 3 commits into
ScanTailor-Advanced:masterfrom
pablogventura:fix/issue-92-fill-outside-page-box

Conversation

@pablogventura

Copy link
Copy Markdown

Fixes #92.

  • ColorCommonOptions: fillOutsidePageBox persisted in XML (default off).
  • RenderParams: new flag; fillOutsidePageBox takes precedence over fillOffcut when building the mask.
  • OutputGenerator::calcAreas: uses QRectF(m_outRect) for m_preCropArea when enabled.
  • Output options: Fill outside page box checkbox, mutually exclusive with Fill offcut in the UI.

If this merges before #81, the follow-up dewarp-on-DPI PR should apply cleanly (touches only dpiChanged).

Add ColorCommonOptions flag, RenderParams bit, OutputGenerator pre-crop
using full output rect, UI checkbox mutually exclusive with Fill offcut.
@vigri

vigri commented Apr 20, 2026

Copy link
Copy Markdown
Member

All green now ;-)

@pablogventura
pablogventura merged commit 1e9dfc3 into ScanTailor-Advanced:master Apr 21, 2026
3 checks passed
@pablogventura
pablogventura deleted the fix/issue-92-fill-outside-page-box branch May 24, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request] Add fill outside page box - Easy aternative to #91

2 participants