alwayXXX/dsh-image-ruler ↗★ 0

dsh-image-ruler

Measure a rectangle on a DSH chat image in original image pixels, then copy its size and coordinates.

包名
dsh-image-ruler
兼容性
待验证
Harness 依赖范围
0.2.2-rc.3
版本
0.1.0
许可证
MIT
最近更新
2026年11月15日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-image-ruler@0.1.0

使用

  1. 将鼠标移到聊天图片上,点击右上角的 测量。
  2. 在测量窗口中拖框,查看选区宽高和左上角坐标。
  3. 需要精确指定范围时,直接修改宽度、高度、X、Y。
  4. 点击 复制结果,或选择 重新测量。按 Esc 关闭窗口。

复制结果示例:

原图:1920 × 1080 px
选区:600 × 240 px
坐标:x=240, y=360(从原图左上角起算,0 起点)