Repository navigation
EggLab 0.3.29
Painted-mask edits now land on the painted area, and their prompts stay minimal.
- Fixed the double-offset bug: a painted mask exported full-canvas was shifted by the layer bounds a second time, so the engine repainted a different part of the picture while the painted area stayed untouched. Canvas-sized masks are now cropped at the target layer origin.
- The panel converts a painted shape into a real black/white
EggLab mask (B/W)layer for the engine, keeps the conversion in the document, and hides the generated mask plus the original layer after the final placement. - Native-mask prompts are gated: the prompt must name the masked area, the exact exposed surface (for example
plain light-blue sky), and one keep-the-rest clause. Scene descriptions and generic "the background continuing" fills are rejected because they made the model invent content. - Text, logo, watermark and stamp removal now uses strength 0.9-0.95.
- Retired
visual_mask; masks always use the native mask path and are never sent as visual references. - Added regression tests for full-canvas mask alignment and the prompt gate.
Verified on a live painted-mask text removal: mask geometry matched the paint, 99.92% of pixels outside the mask stayed byte-exact, and the text inside the mask was repainted.