janewas/dsh-image-annotate ↗★ 0
dsh-image-annotate
DSH web plugin: click a pending image in the composer to annotate it (pen, box, arrow, and movable/resizable text frames) and insert the annotated PNG back as a new attachment.
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:janewas/dsh-image-annotateUsage
- 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 | drag a frame, type inside it; Enter confirms (Esc cancels, clicking elsewhere confirms, Shift+Enter adds a line) |
| Move / resize a frame | with the text tool: drag the frame body to move, drag one of the eight handles to resize. The text re-fits live, and the frame stops shrinking when the text would no longer fit at the minimum readable size |
| Edit / delete a frame | double-click inside it to change the text (clearing the text deletes the frame); select it and press Delete. Ctrl/Cmd+Z undoes a move, a resize, a text change or a delete |
Undo and Clear sit in the toolbar (Ctrl/Cmd+Z also undoes). Both stay available while you are typing inside a frame: Undo discards the text you have not committed yet, Clear discards it and wipes the committed annotations; they are greyed out only when there is genuinely nothing to undo or clear. Close with Esc, the 关闭 button, or a press on the backdrop.