A collection of tools for image processing
Project description
PyVisionTools
PyVisionTools is a Python library for image processing, offering convenient tools to enhance your vision-related projects.
Installation
You can install PyVisionTools using pip:
pip install PyVisionTools
Features
ImageProcessor
- Resize Images: Easily resize images with the
resize_imagemethod.
from PyVisionTools.src import tools
loader = tools.image_processor.ImageLoader()
processor = tools.image_processor.ImageProcessor()
saver = tools.image_processor.ImageSaver()
image_url = "https://example.com/your_image.jpg"
img = loader.open_image_from_url(image_url)
if img:
new_width, new_height = 500, 300
resized_img = processor.resize_image(img, new_width, new_height)
print(f"New Width: {new_width}, New Height: {new_height}")
saver.save_image(resized_img, "resized_image.jpg")
License
This project is licensed under the MIT Lic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyVisionTools-0.0.2.tar.gz
(2.1 kB
view details)
File details
Details for the file PyVisionTools-0.0.2.tar.gz.
File metadata
- Download URL: PyVisionTools-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c4c9f624e907ce0eb9c95e1bb7d41dc372eee190cb98321827d6fd0b255edb
|
|
| MD5 |
8ca939184019558254965f2a9982b1b4
|
|
| BLAKE2b-256 |
3bf72b0208f672da4713505524d5b6822901d407dda932119ef7c5641517050f
|