Skip to content

crunchpaste/hopfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hopfer

hopfer

hopfer is a Python-based GUI application that implements a wide range of halftoning algorithms from scratch, primarily designed for printmaking purposes.

The application uses Qt6 for the GUI and implements the halftoning algorithms using NumPy and Numba for much better performance.

This project was originally created as a companion to my PhD thesis on digital halftoning methods for analog printmaking techniques.

Requirements

Not sure yet.

Installation

1. Clone the repository

git clone https://github.com/crunchpaste/hopfer

2. Navigate to the project directory

cd hopfer

3. Install the dependencies

pip install -r requirements.txt

4. Run it

python src/hopfer.py

Optional: Compile to a static binary

Despite depending on numba you can still compile hopfer to a single static binary using nuitka. To do so:

Compile all numba functions to a static binary

python src/algorithm_compiler.py

Install nuitka

pip install nuitka

Compile the whole project to a static binary.

nuitka --standalone --onefile --include-data-dir=res=res --nofollow-import-to=numba --enable-plugins=pyside6 src/hopfer.py

Enjoy halftoning!

Releases

No releases published

Packages

No packages published