PFX
PFX or Python-Effects is a PyPI Package which helps in Standard Imaging Techniques.
How to download :
Enter either of the pip commands on your console to install it.
pip install PFX or pip install pfx
How to use
PFX can apply various effects to a given image
The result will be saved in the same file path, a prompt will also be shown as to where the file is saved!
Following commands can be used:
1. To convert an image into black and white :
pfx -bg "filepath.png"
or
pfx -black_white "filepath.png"
2. To pixelate the given image :
pfx -p "filepath.png"
or
pfx -pixelate "filepath.png"
3. To blur the given image :
pfx -b "filepath.png"
or
pfx -blur "filepath.png"
4. To blur the given image's edges :
pfx -be "filepath.png"
or
pfx -bluredge "filepath.png"
5. To create a thumbnail of the given image :
pfx -tn "filepath.png"
or
pfx -thumbnail "filepath.png"
6. To create a PDF of the given image :
pfx -pdf "filepath.png"
or
pfx -makepdf "filepath.png"
TL;DR
Just execute the following snippet if you have an IQ level above average :
pfx -h
Then figure it out yourself!
Any Issues:
-
This is the first draft of the PYPI package.
-
This is prone to bugs. Let me know if any issues come up.
-
PFX is a dumb name, waiting for the real name's ownership to clear up.
More imaging effects arriving soon...
- Feel free to share any open ideas!
Release files for PFX 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PFX-1.0.3.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PFX-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / PFX-1.0.3.tar.gz
| Download URL | PFX-1.0.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2676cd7383924278f70289caa1097966228036934a75d49ddaa27ccd7c29774
|
|
BLAKE2b-256 checksum How to use checksums |
34c6db5c23e71e831afeff1b0853e199d82523f8ff276218d4e9f40b6857a97b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|
Release files / PFX-1.0.3-py3-none-any.whl
| Download URL | PFX-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66e6d2d9a0b197ed7bb59511a352b93fbb789a6f52c1a897020ec0a13495dc29
|
|
BLAKE2b-256 checksum How to use checksums |
6a6e3eac6029c5985e65e06ab25fa060dd0414e8065e27694c9e38219e8f3ea4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
|