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 96 by 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 magick when it is installed.
  • Fall back to macOS sips when magick is unavailable.
  • Stop and report the missing dependency when neither backend exists.

Quick Start

  1. Convert one file to a specific JPG path:
Related skills

More from tiangong-ai/skills

Installs
16
GitHub Stars
6
First Seen
Mar 12, 2026