feat(image): add rounded-square and squircle crop tool (#602)

Adds a Rounded Crop image tool for logo, favicon, and app-icon work. It masks the framed square to a rounded rectangle (with a corner-radius control) or an iOS-style squircle, reusing circle-crop's zoom/offset framing, border ring, background fill, and output-size options. Includes translations across all 21 locales.

Closes #601
This commit is contained in:
SnapOtter
2026-07-21 16:48:48 +08:00
committed by GitHub
parent 7d37f6e6f5
commit e7ffb37e98
35 changed files with 935 additions and 6 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ Shared TypeScript types, constants (like `APP_VERSION` and tool definitions), an
### API (`apps/api`) {#api-apps-api}
A Fastify v5 server exposing 242 tool routes across five modalities (image, video, audio, PDF, file) that handles:
A Fastify v5 server exposing 243 tool routes across five modalities (image, video, audio, PDF, file) that handles:
- File uploads, temporary workspace management, and persistent file storage
- User file library (`user_files` table): a saved edit is stored as an independent new file by default, or as a parent-linked version when you overwrite the original. It records which tools were applied (`toolChain`) and gets an auto-generated thumbnail for the Files page
- Tool execution (routes each tool request to the image engine or AI bridge)