dsh-image
Manifest validImage processing: read dimensions/format, scaling and format conversion (built-in ffmpeg)
dsh-image · 图片处理
读取图片尺寸/格式、缩放与格式转换。基于内置 ffmpeg 二进制(跨平台)。纯 Node 实现。
提供的工具
| 工具 | 作用 |
|---|---|
image_info | 读取宽×高与格式 |
resize_image | 缩放(等比/指定尺寸)+ 转格式(jpg/png/webp) |
安装
dsh plugin add dsh-image
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-image"。
用法示例
把 hero.png 缩成 800 宽并转成 webp
→ 调用 resize_image(file="hero.png", width=800, outFile="hero.webp")
安装
dsh plugin add github:uckkk/dsh-image
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-image
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Comments
Loading…
Similar plugins
by lindingkao
增加DSH图片格式类型
★ 0
MIT
JavaScript
Nov 9, 2026
dsh plugin --profile web add dsh-image-importby uckkk
@{name=dsh-image-uckkk; version=0.1.0; description=图片处理:读取图片尺寸/格式、缩放与格式转换(内置 ffmpeg,跨平台); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; dependencies=; keywords=System.Object[]
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-image-uckkkby Tiko9527
DSH high-resolution image tiler: slices large images into <=800x800 tiles before sending to DeepSeek. Highly AI-native, only DeepSeek participation.
★ 0
BSD-3-Clause
TypeScript
Aug 23, 2026
dsh plugin --profile web add @dsh-external/dsh-image-tilerby pengtang1024
Paste any image into DeepSeek Harness: converts XPM/BMP/TIFF and MIME-lying images to real PNG in the renderer
★ 0
MIT
JavaScript
Nov 15, 2026
dsh plugin --profile web add dsh-paste-imageby dami9527
DeepSeek Harness 插件:让 deepseek-v4-flash 等不能看图的模型也能处理聊天图片,内置识图工具。安装:dsh plugin --profile web add dsh-image-pathify
★ 4
↓ 1.7k/wk
MIT
TypeScript
Oct 20, 2026
dsh plugin --profile web add dsh-image-pathifyby zoumutou
DSH 插件:图片附件超限自动降级(2000px / 3.5MB / 4000万像素)
★ 0
↓ 50/wk
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-attachment-downscale