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.0.tar.gz (6.9 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.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file shiertier_image-0.1.0.tar.gz.

File metadata

  • Download URL: shiertier_image-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 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.0.tar.gz
Algorithm Hash digest
SHA256 95c33b1bfe3d7552ddd9c4a4fb12ec9d9a106c614d9613b0649d90a6dd53d7de
MD5 4a27f23dbe7cf56eef89314311df986b
BLAKE2b-256 f100e86aa67ed202e3d563a932df31760bebfc9120717d94b5e68d6f676e292d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shiertier_image-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16ebf5d5dfba18485fe0d0716367a026fbd072fbb775db71e533a0f0fa06bbcb
MD5 ed5120aaf7f6aa2a070ee031969efd10
BLAKE2b-256 3f36843d3d82e1c57509328fbee591af4b331eee265fe4974c785661e0fe36c8

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