impytool
contact: impytool.package@gmail.com
“impytool is an opencv based tool that facilitates some image processing operations”
GitHub README for More Detailed User Manual
USAGE:
Mandatory Parameters:
image: Image file to be processed
save: 1 or not. The 1 is will save the file in new form
impytool.grayscale(image,save)
Converts the image in grayscale form
impytool.negative(image,save)
Converts the image in negative form
impytool.color_change(image,color1,color2,save)
Replaces one color in the image with another color.
color1: the color that will change
color2: the color that will replace color1
color: “blue” “green” “red” “yellow” “orange” “purple” “brown” “white” “black”
for example: impytool.color_change(‘a.jpg’,‘red’,‘color2’,0) -> change red color to blue color on the “a.jpg”
impytool.color_filter(image,color,save)
The image filtered by choosen color
color: “blue”,“green”,“red” .
impytool.blur(image,save)
Converts the image blurred form
impytool.resize(image,w,h,save)
Adjusts the image to the desired dimensions
w: Width of the new sizes.
h: Height of the new sizes.
impytool.brightness(image,rate,save)
Adjusts the brightness of the image
rate: Change rate of the brightness.
impytool.contrast(image,alpha,save)
Adjusts the contrast of the image
alpha: Contrast change quantity
alpha should be in the range of 0-3.0
the 0-1.0 range is the lower contrast
the 1.0-3.0 is the higher contrast
impytool.only_color(image,color,save)
Shows only the selected color on the image
color: “blue” “green” “red” “yellow” “orange” “purple”
impytool.rotate(image,direction,save)
Flips the image
direction: The desired flip direction, it may be ‘vertical’ ‘horizontal’ ‘both’
impytool.flip(image,angle,save)
Rotates the image
angle: The desired rotation angle, it may be 90-180-270
impytool.histogram(image,hist_type)
Creates a histogram for the image
hist_type: Determines the histogram type.
it may be ‘hist’ : for the grayscale images
it may be ‘rgb_hist’ : for the colored images
impytool.black_white(image,save)
Converts the image black & white form.
Metadata
Release files for impytool 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| impytool-1.2.1.tar.gz | 5.4 kB | Without provenance | Details for impytool-1.2.1.tar.gz |
Release files / impytool-1.2.1.tar.gz
| Download URL | impytool-1.2.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fddcf432f3aed859aa14950ad3da3d5a733c7d879537409fbe3caa3c2b81cceb
|
|
BLAKE2b-256 checksum How to use checksums |
1c20a79e9f2d909c3fb1847373d64ee6e4949aa274a7660a0246a9d2fe6c622f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.6
|
Security for impytool 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.