Files
PaintPlus/frontend/images/icons/smart_select.svg
T
Claude bf83ecc8ad Add SAM Smart Select and AI Inpaint tools to miniPaint
New features:
- Smart Select tool: Click to select objects using SAM (Segment Anything)
- AI Inpaint tool: Edit selected regions with text prompts

Changes:
- frontend/src/js/tools/smart_select.js: SAM-powered selection tool
- frontend/src/js/tools/ai_inpaint.js: AI inpainting with prompt dialog
- frontend/src/js/services/api.js: API service for backend communication
- frontend/src/js/config.js: Register new tools
- frontend/src/css/layout.css: Tool icon styles
- frontend/images/icons/: SVG icons for new tools
- backend/app/routers/tools.py: New base64 API endpoints
- frontend/Dockerfile: Updated for miniPaint build
- frontend/nginx.conf: Added /api prefix proxy
2026-01-26 17:34:20 +00:00

16 lines
563 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<!-- Magic wand with AI sparkle -->
<path d="M15 4V2"/>
<path d="M15 16v-2"/>
<path d="M8 9h2"/>
<path d="M20 9h2"/>
<path d="M17.8 11.8L19 13"/>
<path d="M15 9h0"/>
<path d="M17.8 6.2L19 5"/>
<path d="M12.2 6.2L11 5"/>
<path d="M3 21l9-9"/>
<path d="M12.2 11.8L11 13"/>
<!-- Selection indicator -->
<rect x="2" y="2" width="6" height="6" rx="1" stroke-dasharray="2 1"/>
</svg>