
- Installs
- 68
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/steelan9199/wechat-publisher --skill webp-to-jpg- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads webp-to-jpg automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
WebP到JPG转换技能
功能概述
此技能将帮助您将WebP格式的图片转换为JPG格式,以便在不支持WebP格式的平台上使用。
使用场景
- 在微信公众号等不支持WebP格式的平台上使用图片
- 将WebP图片转换为更通用的JPG格式
- 准备适合特定平台的图片格式
转换步骤
-
检查Pillow库:确认系统已安装Pillow库用于图片处理
python -c "from PIL import Image; print('Pillow is available')" -
安装Pillow库(如果没有安装):
pip install Pillow -
执行格式转换:
from PIL import Image # 打开WebP图片 img = Image.open('<webp_image_path>') # 转换为RGB模式(因为JPG不支持透明度) rgb_img = img.convert('RGB') # 保存为JPG格式 rgb_img.save('<jpg_image_path>', 'JPEG')
完整转换命令
直接使用Python命令行进行转换:
python -c "from PIL import Image; img = Image.open('<webp_image_path>'); rgb_img = img.convert('RGB'); rgb_img.save('<jpg_image_path>', 'JPEG'); print('图片转换成功')"
将 <webp_image_path> 替换为您的WebP图片路径,将 <jpg_image_path> 替换为您想要保存的JPG图片路径。
注意事项
- JPG格式不支持透明度,所以WebP的透明部分会被转换为白色背景
- 转换后的图片质量可能会略有变化
- 确保目标路径有写入权限
FAQ
What does the webp-to-jpg skill do?
将WebP格式的图片转换为JPG格式。当用户需要将WebP图片转换为JPG格式时使用此技能,因为某些平台不支持WebP格式。
How do I install webp-to-jpg?
Run npx skills add https://github.com/steelan9199/wechat-publisher --skill webp-to-jpg in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/webp-to-jpg/ (personal) or .claude/skills/webp-to-jpg/ (project).
Which AI agents can use webp-to-jpg?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is webp-to-jpg safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains webp-to-jpg?
It is published by steelan9199 in steelan9199/wechat-publisher. It has 68 recorded installs.
More from steelan9199/wechat-publisher
pyautogui-automation
steelan9199/wechat-publisher
基于 PyAutoGUI 的桌面自动化工具。支持截图、鼠标键盘控制、图像识别、颜色检测等操作。当用户需要自动化操作桌面应用、执行 UI 测试或重复性任务时触发。
wechat-publisher-yashu
steelan9199/wechat-publisher
Open the skill to read its SKILL.md instructions.
wechat-title-optimizer
steelan9199/wechat-publisher
公众号标题优化专家,专为技术/效率工具类内容创作者优化标题。当用户需要优化公众号文章标题、提升文章点击率、诊断标题问题或寻找爆款标题灵感时使用此技能。支持技术热词保护、多维度优化分析和场景化标题推荐。能够智能读取上下文中的文章内容,基于文章实际内容优化标题,确保标题与内容高度匹配。
wechat-content-optimizer
steelan9199/wechat-publisher
优化本地 Markdown 文件中的公众号文章内容,使其更适合16-50岁中国用户在微信公众平台阅读。支持优化文章结构、语言表达、排版格式,提升开头吸引力、段落节奏、结尾转化。当用户需要优化公众号文章、改进 Markdown 内容质量、提升文章阅读体验时使用此技能。
generate-cover-prompt
steelan9199/wechat-publisher
生成公众号文章封面图片的AI提示词。智能分析文章标题和内容,提取核心价值和视觉主题,生成适合即梦等AI绘图工具使用的专业提示词。支持从上下文中读取文章内容,确保封面与文章主题高度契合。当用户需要生成公众号文章封面、创建封面图片提示词、为文章配图时使用此技能。
create-symlink
steelan9199/wechat-publisher
创建软链接(符号链接)支持 Windows、macOS 和 Linux 系统。根据当前操作系统自动选择正确的命令创建目录或文件的软链接。当用户需要创建软链接、符号链接或需要在不同位置共享文件/目录时使用此技能。
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.