Skip to content

Merge regions too narrow for the nozzle into a neighboring color #171

Open

Description

@vycdev

Summary

Building on the nozzle size preview: optionally merge connected regions narrower than the chosen line width into the closest adjacent wider color, show the result, and Apply it at full resolution as an undoable step.

Constraints

  • This edits the image, so it lands separately from the read-only preview.
  • Full-resolution Apply needs a size limit checked before any large allocation. Add live thresholds, filament matching, nozzle previews and portable projects #156 uses 4 MP including transparent margins; the limit and its user-facing message need agreement.
  • Memory for the patch queue should scale with the number of flagged pixels, not the image size.
  • Deterministic: the same image and settings give the same patch.
  • Apply respects the quantize/dedither locks.

Acceptance

  • Tests for merging, the size limit and determinism.
  • Docs: explain the merge rule and the limit.

Depends on #170. Split from #156.

Activity

  1. added
    enhancement
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions