在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用$pwd:
$ git log --oneline --stat
stars:4
forks:2
updated:2026年4月17日 01:23
SKILL.md
A dummy skill for working with a dummy PDF file. Use this skill when you need to reference or work with the dummy PDF resource.
Guide to skill creation. Use this skill when the user requests to make, create, or write a new skill.
| name | image_resizer |
| description | Use this skill to resize images via OpenCV. |
This skill enables an agent to resize and rescale images using OpenCV.
The skill supports:
Interpolation determines how pixel values are computed during resizing. Common interpolation methods are:
INTER_NEAREST → fastest, lowest qualityINTER_LINEAR → balanced defaultINTER_CUBIC → smoother high-quality upscalingINTER_AREA → best for shrinking imagesINTER_LANCZOS4 → high-quality scaling preserving detailIf OpenCV isn't installed, install OpenCV via the following command:
pip install opencv-python -q
OpenCV provides the following function:
cv2.resize(src, dsize[, dst[, fx[, fy[, interpolation]]]])
(width, height)dsize=None)The function returns a resized NumPy image that can be displayed, saved, or further processed.
Use either explicit size (dsize) or scaling factors (fx, fy), not both simultaneously.