convert-image-to-jpg
Installation
SKILL.md
Convert Image to JPG
Core Goal
- Convert one local image or a directory tree of local images into
.jpg. - Write JPG DPI metadata as
96by default or a caller-provided value. - Preserve relative directory structure when the input path is a directory.
Required Tools
- Use
scripts/convert_to_jpg.py. - Rely only on Python standard library modules. Do not install Python packages for this skill.
- Prefer
magickwhen it is installed. - Fall back to macOS
sipswhenmagickis unavailable. - Stop and report the missing dependency when neither backend exists.
Quick Start
- Convert one file to a specific JPG path: