pypixel
This is a Python image process library
Feature
- open and save an Image
- show an Image
- reshape an Image
- convert RGB to Gray
- convert RGB to Binary
Usage
Import package
from pypixel import Image
Open an Image
img = Image.open("filepath")
Save an Image
img = Image.open("filepath")
...
# Do something to img
...
img.save("filepath")
Show an Image
img = Image.open("filepath")
img.show()
Reshape an Image
img = Image.open("filepath")
img.reshape([height,width])
Convert to gray
img = Image.open("url")
img = img.gray() # default : Float Algorithm
img = img.gray("F") # Float Algorithm : r*0.3+g*0.59+b*0.11
img = img.gray("G") # Green Only
Convert to binary
img = Image.open("url")
img = img.binary()
Metadata
Release files for pypixel 1.0.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 |
|---|---|---|---|---|
| pypixel-1.0.1.tar.gz | 2.1 kB | Without provenance | Details for pypixel-1.0.1.tar.gz |
Release files / pypixel-1.0.1.tar.gz
| Download URL | pypixel-1.0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a51521f61b4838692be39ff38a9ecf3e8ee503c9a3d529a22670ede68e60461
|
|
BLAKE2b-256 checksum How to use checksums |
68cfa895c56b99c76457b06570b4447db1853e171290c5b998bfaa9302f8a375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for pypixel 1.0.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.