janewas/dsh-image-annotate ↗★ 0

dsh-image-annotate

在撰写界面直接标注待发图片并返回新附件,支持画笔形状与文字 适合需要在对话中快速产出带注释图片的编辑场景,需在 composer 中加载图片再调用标注弹窗。

包名
dsh-image-annotate
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年9月13日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:janewas/dsh-image-annotate

Usage

  1. Add an image to the composer as usual (drag it in, or use the paperclip).
  2. Click its thumbnail. The annotation dialog opens with the image at full size.
  3. Draw: pick a tool, a colour and a width; for text, click a spot and type.
  4. Click 「插入到输入框」 (Insert into composer). The annotated PNG appears at the end of the attachment rail, and the original is still there.
ToolInteraction
Pendrag to draw freehand
Boxdrag from one corner to the other
Arrowdrag from tail to head
Textclick 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.