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.

패키지
dsh-image-annotate
호환성
미검증
버전
0.4.1
라이선스
MIT
최근 업데이트
2026. 9. 14.

같은 패키지 이름의 다른 저장소

설치

$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
Textdrag a frame, type inside it; Enter confirms (Esc cancels, clicking elsewhere confirms, Shift+Enter adds a line)
Move / resize a framewith 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 framedouble-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.