fulander0301/dsh-tool-read-tiff

fulander0301★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

Model-facing read_tiff tool for DeepSeek Harness: decodes TIFF/TIF images (multi-page, LZW/Deflate/PackBits/CCITT/JPEG compression, bilevel, 8/16-bit and float) into viewable PNGs with full header metadata, plus optional vision-model description.

README 摘要

dsh-tool-read-tiff — TIFF Reading Tool Plugin English 中文 Model-facing read tiff tool: gives text-only models (DeepSeek V4 etc.) the ability to read TIFF/TIF images — the format plain vision pipelines and browsers cannot touch. Each call loads one TIFF (a local file path or an http(s) URL), decodes a page into a viewable PNG , and reports the full header metadata (dimensions, page count, compression, photometric interpretation, per-channel bit depths, byte order). When a vision endpoint is configured it also asks an OpenAI-compatible vision model to describe the decoded page; only text and metadata enter the conversation, the TIFF and PNG bytes never enter the session log . Decoding is done by sharp (libvips + libtiff), so the common real-world TIFF variants work out of the box: classic and BigTIFF, multi-page, LZW / Deflate / PackBits / CCITT Group 3 & 4 / JPEG compression, bilevel (1-bit), 8/16-bit, and float samples. Capabilities Capability Description Two inputs Local absolute path, or an http(s) URL (redirects refused) Decode + convert Decodes the requested page to a PNG written beside the source (or under outputDir / the OS temp dir for URLs); the path comes back in convertedP…

在 GitHub 查看完整 README →
内容/媒体deepseek-harnessdsh-pluginimage-decodingimage-processingtiffvision

分类