A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort
Project description
What is the "ProcessingImg1" library?
A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort
How to Install The Library?
pip install ProcessingImg1
Example One
for the ImageProcessing class Let's take an example : about the function get_list(path) it takes the path of a folder and then returns all the images as a table
from processing import ImageProcessing
result = ImageProcessing.get_list(r"C:\Users\Alaa\Pictures")
Example Two
The first function get_list_sorted(main_path , answer) takes the full path of the target image folder, and takes the user's answer, in order to arrange the images in ascending or descending order. In the entered folder
from processing import ImageProcessing
print(ImageProcessing.get_list_sorted(r"C:\Users\Alaa\Pictures", False))
Example Three
The second function best_image(path_image ) takes the full path of the target image folder and then returns the best image in terms of resolution and it takes only one parameter, which is the full path of the folder containing the images
from processing import ImageProcessing
result = ImageProcessing.best_image(r"C:\Users\Alaa\Pictures")
Example Four
Referring to the example of the convert_image function, the function that convert_image(path , eextension , size) an image from a PNG or other extension into a thumbnail with the ICO file extension
from processing import ImageProcessing
result = ImageProcessing.convert_imagepath="C:\\Alaa.png" , extension=".jpg", size=(50, 50))
Developer information
"Developer"
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
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 ProcessingImg1-0.3.tar.gz.
File metadata
- Download URL: ProcessingImg1-0.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514f46b4e800d78aec8f2e448e115fda3f40c3b163e79a4fdc76cd54aeb08122
|
|
| MD5 |
8317e0846972e3785458a43b0d0d7571
|
|
| BLAKE2b-256 |
b9a1c1c03a17d22aba3d984d7ae294f023c7d8049ca0e2d51a2a60922c683aaf
|
File details
Details for the file ProcessingImg1-0.3-py3-none-any.whl.
File metadata
- Download URL: ProcessingImg1-0.3-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61f5cb8ca5469da9ea1c3e3f68ffd15d0606443b9a0a4cfe77d741af3c7f3077
|
|
| MD5 |
1688dc3e6eae314c72ee0b26f0edde41
|
|
| BLAKE2b-256 |
c17e24da4866facbd6d659f5ae77cc38542bc5d3ea7cab86b39c72aafba3feb4
|