← 返回
内容创作 中文

OpenClaw AVIF to JPG

Convert `.avif` images to `.jpg` using a CLI workflow for one or more input paths. Use when the user asks to convert AVIF files, batch-convert a folder of AV...
使用命令行工作流将 .avif 图像转换为 .jpg,支持一个或多个输入路径。适用于用户请求转换 AVIF 文件或批量转换文件夹中的 AVIF 文件。
guoway
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 501
下载
💾 21
安装
1
版本
#latest

概述

OpenClaw AVIF to JPG

Overview

Run the bundled Python script to convert AVIF images into JPEG.

Accept one folder path or multiple file/folder paths and place output beside source paths.

Quick Start

  1. Ensure dependencies exist:
  2. python3 -m pip install Pillow pillow-avif-plugin
    
  3. Convert one folder:
  4. python3 scripts/avif2jpg.py /path/to/folder
    
  5. Convert multiple files:
  6. python3 scripts/avif2jpg.py /path/a.avif /path/b.avif
    
  7. Recursively convert folder:
  8. python3 scripts/avif2jpg.py /path/to/folder --recursive
    

Output Rules

  • If input is a folder /data/photos, output goes to sibling folder /data/photos_jpg.
  • If input is a file /data/a.avif, output goes to /data/a.jpg.
  • Skip non-.avif files and print warnings.

Command Options

  • --quality <1-100>: Set JPEG quality (default 92).
  • --overwrite: Overwrite existing output file.
  • --recursive: Recursively scan folders.

Execution Checklist

  1. Resolve and validate each input path first.
  2. Install dependencies if Pillow or AVIF plugin is missing.
  3. Run scripts/avif2jpg.py with user options.
  4. Report converted files, skipped files, and failures.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 11:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Jenkins

guoway
通过 REST API 与 Jenkins CI/CD 服务器交互。适用于触发构建、查询状态、查看控制台输出、管理任务或监控 Jenkins...
★ 2 📥 2,281
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,137
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,422