Skip to main content

lctio-retiff

Use when modifying or debugging lctio.retiff, TIFF rewrite behavior, or the retiff CLI.

Aller à l'installation

Informations de source

Dépôt
llnl/lctio
Dernière activité de la source
24 août 2026 à 20:36
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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`
Voir sur GitHub