Repository navigation
LocalBG v1.0.9
🛠️ Fixes
Gray Outline (Halo)
A long-standing issue causing gray/dark outlines (halo artifacts) around subjects has been resolved.
Cause
- Inconsistent handling of premultiplied and straight alpha during compositing.
- Resulted in visible edge artifacts, especially on light backgrounds.
Fix
- Reworked the compositing pipeline to ensure consistent alpha handling.
- Properly reconciles RGB and transparency before blending.
- Uses a mathematically correct compositing method.
Performance Improvements
- Reduced unnecessary data type conversions.
- Minimized repeated image save/load operations.
- Improved overall pipeline efficiency.
Real-ESRGAN
- Reduced tile overlap during enhancement.
- Faster processing with no visible quality difference.
Improvements
Sticker Fill
- Stickers are now fully filled within their borders.
- Internal transparent areas are automatically filled with the sticker color.
PSD Export
- Removed merge preview generation → faster exports.

