Skip to main content

Glitch Art Toolkit mimicking CRT monitor defects.

Project description


Build PyPI Version PyPI Downloads per Week

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

  1. Installation and use
    1. pypi
    2. git
  2. Sample image:

Installation and use

BRImage now comes with a very minimal command line interface, usable with

brimage -h


I've made the project available with pip (you can view the project here):

pip install BRImage

and run with


Building from source

Requires SWIG.

First, clone the repository

git clone && 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 "" > 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 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


Sample image:

Input Image Output Image

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BRImage-0.1.9.tar.gz (43.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page