lctio-retiff
Use when modifying or debugging lctio.retiff, TIFF rewrite behavior, or the retiff CLI.
来源信息
- 仓库
- llnl/lctio
- 最近来源活动
- 2026年8月24日 20:36
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- lctio-retiff
- description
- Use when modifying or debugging lctio.retiff, TIFF rewrite behavior, or the retiff CLI.
# LCTIO Retiff
Use this skill when a task touches `src/lctio/retiff/` or the `retiff` command.
## Current Behavior
- `retiff` reads a TIFF file and rewrites it with simpler storage and minimal metadata.
- The tool preserves image shape, sample values, and photometric interpretation.
- The library entry point is `lctio.retiff.rewrite()`.
- The CLI entry point is `retiff`, defined in `pyproject.toml`.
## Important Constraints
- Only single-page TIFF files are supported. Multi-page input should raise an error.
- The project intentionally relies on PIL for broad TIFF read compatibility and `tifffile` for writing.
- The repository does not depend on `imagecodecs`.
## CLI Examples
- `retiff input.tif`
- `retiff input.tif -o output_dir/`
- `retiff *.tif -o simplified/`
- `retiff input.tif -v`
在 GitHub 查看