Skip to content

setanarut/layerbuilder-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Layer Builder

Layer Decomposition App - paper

ss (1)

Quick usage

  1. Drag and drop a PNG/JPG image (or click the image area to pick a file).
  2. Set the output folder from the bottom bar.
  3. Build your palette:
    • Extract from Image: auto-generates palette colors from the uploaded image.
    • Options from Image: auto-fills processing options based on image size.
    • Sort by Brightness: sorts current palette colors from dark to bright.
    • + / -: add or remove palette colors.
    • Click a color swatch to select it, then press Delete or Backspace (or -) to remove that specific color.
  4. (Optional) Tune advanced options: NumSuperpixels, LLENeighbors, PixelNeighbors, Lm, Lr, Lu.
  5. Click PROCESS & SAVE to export all generated layers to the selected output folder.

What color deletion does

Removing a color narrows the palette used for segmentation. This changes how pixels are grouped and can simplify output layers (fewer target colors, broader regions).

Build (Go + Wails)

  1. Install Go (version 1.26+ recommended) and verify:
    • go version
  2. Install Wails CLI:
    • go install github.com/wailsapp/wails/v2/cmd/wails@latest
  3. Add Go bin path to your shell PATH (if needed), then verify:
    • wails version
  4. From the project root, install frontend dependencies:
    • wails doctor
  5. Build the app:
    • wails build
  6. (Optional) Build with cleanup and no upx:
    • wails build -clean -upx=false

Download

https://github.com/setanarut/layerbuilder-app/releases