AGENT SKILL

cmyk-image-converter

Convert images to print-safe CMYK using ImageMagick + ICC profiles (DriveThruRPG-first), with batch conversion and verification steps.

License 许可
MPL-2.0
所属仓库
itlackey/akm-eval
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
cmyk-image-converter
updated
1781827200000
description
Convert images to print-safe CMYK using ImageMagick + ICC profiles (DriveThruRPG-first), with batch conversion and verification steps.
when_to_use
Use this asset when preparing raster assets for professional offset printing or high-quality book production where color accuracy relative to a specific ICC profile is required.

03 SKILL.md 正文

CMYK Image Converter

Convert images to print-safe CMYK using ImageMagick + ICC profiles (DriveThruRPG-first), with batch conversion and verification steps.

When to use

  • Use this asset when preparing raster assets for professional offset printing or high-quality book production where color accuracy relative to a specific ICC profile is required.
  • Do not use for web delivery, screen display, or archival workflows requiring RGB/sRGB/AdobeRGB.

DriveThruRPG default

  • ICC Profile: CGATS21_CRPC1.icc
  • Target Format: TIFF (LZW compressed)
  • Resolution: 300 DPI
  • Note: Total Area Coverage (TAC) constraints are applied at the PDF stage; this step handles colorspace conversion and profiling.

Prerequisites

  • ImageMagick (convert, identify)
  • ICC Profile file: CGATS21_CRPC1.icc

Quick usage

Single image (TIFF recommended)

convert input.png -profile CGATS21_CRPC1.icc -density 300 -compress lzw output.tif

Batch directory conversion

./scripts/convert-to-cmyk.sh ./images ./output -p CGATS21_CRPC1.icc -f tif -r

Verification

Check that the output file has the correct colorspace and profile embedded:

identify -verbose output.tif | grep -i -E "Colorspace|Profile"

Notes

  • PNG does not natively store CMYK well; prefer TIFF for print assets.
  • Always verify the Colorspace field in identify output is CMYK before proceeding to PDF generation.

References

  • skills/cmyk-image-converter/references/icc-profiles.md

Scripts

  • skills/cmyk-image-converter/scripts/convert-to-cmyk.sh

04 同仓库更多 Skills