A simple image processing library for Python.
Project description
shiertier_image
中文 | English
1. 简介
shiertier_image 是一个用于图像处理的 Python 工具库。它提供了查找目录中的图像、加载和处理图像、调整图像大小等功能。
2. 安装
通过 pip 安装
pip install shiertier_image
通过 git 安装(开发版)
pip install git+https://github.com/shiertier-utils/shiertier_image.git
3. 使用示例
from shiertier_image import ez_imgutils
# 查找目录中的图像
images = ez_imgutils.find_images_in_directory('path/to/directory')
# 加载图像
image = ez_imgutils.load_image('path/to/image.jpg')
# 调整图像大小
resized_image = ez_imgutils.resize_image(image, max_size=1024)
# 保存调整大小后的图像
ez_imgutils.resize_and_save_image('path/to/image.jpg', 'path/to/save_dir')
4. 许可证
本项目采用 MIT 许可证。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shiertier_image-0.1.1.tar.gz
(8.1 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 shiertier_image-0.1.1.tar.gz.
File metadata
- Download URL: shiertier_image-0.1.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4311378109118c73f867bb6d4aa107b2ca643687fdadd53dbb0de7f769666d3b
|
|
| MD5 |
ad0922d81453f46cbadd8aaa48c0749f
|
|
| BLAKE2b-256 |
b3116b2f6c4e3f348092c2a852ba3dc642b0029d501ea870395096f5f06a0b7f
|
File details
Details for the file shiertier_image-0.1.1-py3-none-any.whl.
File metadata
- Download URL: shiertier_image-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97b4e0e71f9160c74b3b3ab74a989dc6b4ed5f131dd5f4815c7233d28462da13
|
|
| MD5 |
d2c0791a773b9bd8442ebb897bf4c65d
|
|
| BLAKE2b-256 |
edcdc5e0a16f5e0538326f8283043637321617b27590f7daa781187073a9e9e7
|