搜索

PythonReactSEOPDF
OpenClaw

openclaw-avif2jpg

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 AVIF images, or convert mixed file/folder path inputs while writing outputs next to the source location.

guoway0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install guoway/openclaw-avif2jpg

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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:
python3 -m pip install Pillow pillow-avif-plugin
  1. Convert one folder:
python3 scripts/avif2jpg.py /path/to/folder
  1. Convert multiple files:
python3 scripts/avif2jpg.py /path/a.avif /path/b.avif
  1. Recursively convert folder:
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.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/guoway/openclaw-avif2jpg
Version
—
Commit
5d0ce979ee2b98bd63b1748140058633402ebaa9
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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:
```bash
python3 -m pip install Pillow pillow-avif-plugin
```
2. Convert one folder:
```bash
python3 scripts/avif2jpg.py /path/to/folder
```
3. Convert multiple files:
```bash
python3 scripts/avif2jpg.py /path/a.avif /path/b.avif
```
4. Recursively convert folder:
```bash
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.

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.