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.2.tar.gz
(9.7 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.2.tar.gz.
File metadata
- Download URL: shiertier_image-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19a92232d85b031696eb96bd2ab58b8be7af3f9a3b09dc9526d0ec9e37dde91b
|
|
| MD5 |
adf14274db294d17d883a9c8a32da21e
|
|
| BLAKE2b-256 |
09fa41df73890b13d0f892c64794afdd2a0bad78374e6d3b7a8d716eb03558ba
|
File details
Details for the file shiertier_image-0.1.2-py3-none-any.whl.
File metadata
- Download URL: shiertier_image-0.1.2-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 |
584fb5ca3d5f947f5bc762370a9690dcabd147e6931fa12f23f41651a1ae613d
|
|
| MD5 |
711cb7f02d9213cd344defeda8700923
|
|
| BLAKE2b-256 |
2af2988a7bfd93b68cce34e448f42d1fda726964bc11ceead22ae692db0d1d53
|