CompressImage
图片修改与压缩
Install / Use
/learn @loukerx/CompressImageREADME
Resize an Image
Rules
a, If both the width and the height are smaller or equal to 1280 pixels, return the original image.
b, If either the width or the height is larger than 1280 pixels, and the aspect ratio is smaller or equal to 2. Resize the larger side to 1280 pixels and another side on the same proportion of the original image.
c, If both the width and the height are larger than 1280 pixels, and the aspect ratio is larger than 2. Resize the smaller side to 1280 pixels and another side on the same proportion of the original image.
d, If either the width or the height is larger than 1280 pixels,and the aspect ratio is larger than 2. Return the original image.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
