janewas/dsh-image-annotate ↗★ 0
dsh-image-annotate
DSH web plugin: click a pending image in the composer to annotate it (pen, box, arrow, text) and insert the annotated PNG back as a new attachment. 适合需要在对话中快速产出带注释图片的编辑场景,需在 composer 中加载图片再调用标注弹窗。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:janewas/dsh-image-annotateドキュメント
README 全文を読む ↗Usage
- Add an image to the composer as usual (drag it in, or use the paperclip).
- Click its thumbnail. The annotation dialog opens with the image at full size.
- Draw: pick a tool, a colour and a width; for text, click a spot and type.
- Click 「插入到输入框」 (Insert into composer). The annotated PNG appears at the end of the attachment rail, and the original is still there.
| Tool | Interaction |
|---|---|
| Pen | drag to draw freehand |
| Box | drag from one corner to the other |
| Arrow | drag from tail to head |
| Text | click a spot, type, Enter to confirm (Esc cancels, clicking elsewhere confirms) |
Undo and Clear sit in the toolbar (Ctrl/Cmd+Z also undoes). Close with Esc, the 关闭 button, or a press on the backdrop.