Skip to content

Live brightness threshold editor #168

Open

Description

@vycdev

Summary

Split an image into 2–64 bands from dark to light and pick a color for each band, with a live preview, draggable boundary handles, numeric boundaries, a comparison with the original, and a full-resolution Apply that can be undone. Useful for posters and other images that should reduce to a few flat tones.

Constraints

  • Builds on the shared image worker (Move 2D adjustment rendering and color replacement into a tiled worker #165). Remapping and Apply run off the main thread, and dragging coalesces preview requests.
  • Alpha is preserved, including partially transparent pixels.
  • Cancel stops an unfinished Apply.
  • Apply respects the quantize/dedither locks.
  • No dependency on the filament matcher. Any preview-color wiring for it lands with that feature.

Acceptance

  • Tests for band mapping, alpha handling and cancellation.
  • Docs: a short guide section.

Depends on #165. 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