resize-image
Resize images to specific dimensions or percentages
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- resize-image
- metadata
- { "emoji": "🖼️", "author": "Zo", "category": "Official", "display-name": "Resize Images" }
- description
- Resize images to specific dimensions or percentages
02 资源文件 1
- 参考文档DISPLAY.json84 B
03 SKILL.md 正文
Resize Images
Purpose
Resize images to specific dimensions, percentages, or file sizes using ImageMagick.
Input
- Path to the image file(s) you want to resize
- Target dimensions or percentage
Steps
- Install ImageMagick:
apt-get update && apt-get install -y imagemagick
- Resize the image based on user's requirements:
# Resize to specific width (height auto-calculated to maintain aspect ratio)
convert "<user's_image_path>" -resize 800x "<output_image_path>"
# Resize to specific height (width auto-calculated to maintain aspect ratio)
convert "<user's_image_path>" -resize x600 "<output_image_path>"
# Resize to exact dimensions (may distort image)
convert "<user's_image_path>" -resize 800x600! "<output_image_path>"
# Resize to fit within dimensions (maintains aspect ratio)
convert "<user's_image_path>" -resize 800x600 "<output_image_path>"
# Resize by percentage
convert "<user's_image_path>" -resize 50% "<output_image_path>"
# Batch resize all images in a directory
for img in *.jpg; do convert "$img" -resize 1920x1080 "resized_$img"; done
- Tell the user where the resized image(s) were saved.
Note
The default resize maintains aspect ratio. Use the '!' flag to force exact dimensions if needed.
04 同仓库更多 Skills
zopack
Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on "export my zo.space", "create a zopack", "import this zopack", or any mention of .zopack.md files.
zoho-mail-inbox
Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender/keyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.
weekly-meeting-reminder
Get an email every Sunday evening listing your meetings for the coming week.
Let Zo use your X (Twitter) account
zo-tools
Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.
ssh-setup
Sets up secure remote access to your Zo Computer so you can connect from anywhere