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.3.tar.gz
(9.6 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.3.tar.gz.
File metadata
- Download URL: shiertier_image-0.1.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0382352d3548dd907c115fa444e16712059d35da955228c960f980e07e0f0ad
|
|
| MD5 |
69877a8669ba876574c219be9888e647
|
|
| BLAKE2b-256 |
34ca7c636d20fa9cb9c290c6a31de83bf238b4581096ce08ea9cefd13326d8bd
|
File details
Details for the file shiertier_image-0.1.3-py3-none-any.whl.
File metadata
- Download URL: shiertier_image-0.1.3-py3-none-any.whl
- Upload date:
- Size: 12.9 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 |
ce3daee7728d25eba18d9f4348b30461c3d280056f7c26df2f44f7bb647a2c16
|
|
| MD5 |
98ad0a38aad9e69e3589df9cc66927d1
|
|
| BLAKE2b-256 |
f5dbc45c9d2e52232a78db02ed5d42387b8ca491d08e2a6f3680104cd092b69d
|