BRImage
Glitch Art Library and command line tool for generating glitch-art effects inspired by CRT monitors. One-liner install (requires Python >=3.7)
pip install BRImage && brimage -h
Table of Contents
Installation and use
BRImage now comes with a very minimal command line interface, usable with
brimage -h
pypi
I've made the project available with pip (you can view the project here):
pip install BRImage
and run with
brimage
Building from source
Requires SWIG.
First, clone the repository
git clone https://github.com/Dustpancake/BRImage && cd BRImage
It is recommended to use a virtual environment
# *nix
python3 -m venv venv && source venv/bin/activate
Generate the SWIG files; for this we require numpy.i:
curl "https://raw.githubusercontent.com/numpy/numpy/master/tools/swig/numpy.i" > BRImage/clib/numpy.i
Then we generate the .py and .cxx files with
cd BRImage/clib \
&& swig -c++ -python -py3 algorithms.i \
&& cd -
We then build with
python setup.py build_ext --inplace
or install into the environment with
pip install .
- Running the script
To run when build from source:
python BRImage
If installed, use
brimage
Sample image:
| Input Image | Output Image |
|---|---|
Metadata
Release files for BRImage 0.1.9
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 |
|---|---|---|---|---|
| BRImage-0.1.9.tar.gz | 43.8 kB | Without provenance | Details for BRImage-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| BRImage-0.1.9-cp38-cp38-macosx_10_15_x86_64.whl | CPython 3.8 | CPython 3.8 | macOS 10.15+ x86-64 | Details for BRImage-0.1.9-cp38-cp38-macosx_10_15_x86_64.whl |
Total release size: 93.3 kB
Release files / BRImage-0.1.9.tar.gz
| Download URL | BRImage-0.1.9.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c98cf0838f3fbb31b6836ef8f08b7d95a3b27f3afdc198b9f569811cb34948cf
|
|
BLAKE2b-256 checksum How to use checksums |
0342605dfd71e9e8e828a6479e970b5e009e2bf668db5d45f1e8e37550c60bf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Release files / BRImage-0.1.9-cp38-cp38-macosx_10_15_x86_64.whl
| Download URL | BRImage-0.1.9-cp38-cp38-macosx_10_15_x86_64.whl |
|---|---|
| Size | 49.5 kB |
| Tags | CPython 3.8 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
cdd67a7c7a3ad0966198562b32dabf6a7a8b1222f31f213791646e3c2010cb3f
|
|
BLAKE2b-256 checksum How to use checksums |
c37781a92835a4ee941f79877b0d2ed41b841e58893cb3752ff1901ca40ccb7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|
Security for BRImage 0.1.9
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.