Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shiertier_image-0.1.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for shiertier_image-0.1.2.tar.gz
Algorithm Hash digest
SHA256 19a92232d85b031696eb96bd2ab58b8be7af3f9a3b09dc9526d0ec9e37dde91b
MD5 adf14274db294d17d883a9c8a32da21e
BLAKE2b-256 09fa41df73890b13d0f892c64794afdd2a0bad78374e6d3b7a8d716eb03558ba

See more details on using hashes here.

File details

Details for the file shiertier_image-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for shiertier_image-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 584fb5ca3d5f947f5bc762370a9690dcabd147e6931fa12f23f41651a1ae613d
MD5 711cb7f02d9213cd344defeda8700923
BLAKE2b-256 2af2988a7bfd93b68cce34e448f42d1fda726964bc11ceead22ae692db0d1d53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page