图片格式批量转换工具 - 支持jpg, png, webp, bmp, gif, tiff等格式互转
Project description
img-convert-kit 图片格式批量转换工具
安装
pip install img-convert-kit
用法
批量转换图片格式:
# 将 ./图片/ 目录下所有图片转换为 webp 格式,输出到 ./输出/
img-convert ./图片/ webp ./输出/
# 使用默认输出目录(输入目录下的 converted_格式 子目录)
img-convert ./图片/ jpg
支持的格式
| 格式 | 说明 |
|---|---|
| jpg/jpeg | JPEG图像(质量95%) |
| png | PNG无损图像 |
| webp | WebP现代格式(体积更小) |
| bmp | BMP位图 |
| gif | GIF动图/静态图 |
| tiff | TIFF多页图像 |
特点
- 一行命令批量转换
- 自动识别目录中所有图片
- 智能跳过已为目标格式的文件
- 支持大小写混用的扩展名
- 保持原始文件名
支持
如果 img-convert-kit 帮到了您,欢迎打赏支持:
USDT (TRC20): TMPQygMkv42QPeyYnkxMkPwsqs7udbD2Aa
您的支持是开源项目持续发展的动力 ❤️
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
img_convert_kit-1.0.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file img_convert_kit-1.0.0.tar.gz.
File metadata
- Download URL: img_convert_kit-1.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ade15e3a0f789ffe87aeaa8cb85f1506197d87c45015f9e470f4915deff64cb0
|
|
| MD5 |
a0bbce8041a6bdbc3c0f5063c5f8cf42
|
|
| BLAKE2b-256 |
df1968ef49633b03bf29eff8d9430397d25f5e88ee9cf3bcecee33193bda4a13
|
File details
Details for the file img_convert_kit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: img_convert_kit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75765d93323860e116bfa97af31cc3eb079fa28ee9d000c841ce3bc01b0440f5
|
|
| MD5 |
d734fa6f04114c4530b92965829ca472
|
|
| BLAKE2b-256 |
ee6c7c5906ae281a4755d9d319b04c9cbf5a81ff68183ab4151bfe429e069bb0
|