Remove white or near-white backgrounds from ship drawings and PNG assets for Jutland while preserving image dimensions, orientation, scale, and artwork. Also supports user-requested bounded recoloring such as replacing ship camouflage with a uniform navy blue. Use before jutland-add-ship when source images still have a white background, or when a user asks only for transparent-background cleanup and a reviewable preview.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Remove white or near-white backgrounds from ship drawings and PNG assets for Jutland while preserving image dimensions, orientation, scale, and artwork. Also supports user-requested bounded recoloring such as replacing ship camouflage with a uniform navy blue. Use before jutland-add-ship when source images still have a white background, or when a user asks only for transparent-background cleanup and a reviewable preview.
使用脚本:
go run .codex/skills/jutland-clean-ship-image/scripts/uniform_ship_color.go -input <image.png> -output <stem>.cleaned.png -recolor-box <minX,minY,maxX,maxY>