Run2 image processing
Efficient inplace image processing using ImageMagick's mogrify.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_image_processingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.6 KB, 130 tokens by cl100k_base, as published. Nobody here has run it
Efficient Inplace Image Processing
While convert is great for single files, mogrify is designed for batch processing files in place.
Grayscale Conversion
To convert all PNG files in the current directory to grayscale inplace:
mogrify -colorspace Gray *.png
Resizing
To resize all images to 50% inplace:
mogrify -resize 50% *.png
Why use mogrify?
- It overwrites the original files by default.
- It is more concise for batch operations than a
forloop withconvert.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.