Binary Python3 bindings for the G'MIC C++ image processing library
Project description
Python binding for G'MIC - A Full-Featured Open-Source Framework for Image Processing
https://gmic.eu
gmic-py
gmic-py
is the official Python 3 binding for the G'MIC C++ image processing library purely written with Python's C API.
Its Python package name on pypi.org is just gmic
.
This project lives under the CeCILL license (similar to GNU Public License).
You can use the gmic
Python module for projects related to desktop or server-side graphics software, numpy, video-games, image procesing.
gmic-blender is a Blender3d add-on bundling gmic-py
and allowing you use a new gmic
module from there without installing anything more.
Quickstart
First install the G'MIC Python module in your (virtual) environment.
pip install gmic
G'MIC is a language processing framework, interpreter and image-processing scripting language.
Here is how to load gmic
, and evaluate some G'MIC commands with an interpreter.
import gmic
gmic.run("sp earth blur 4") # On Linux a window shall open-up with a blurred earth
gmic.run("sp rose fx_bokeh 3,8,0,30,8,4,0.3,0.2,210,210,80,160,0.7,30,20,20,1,2,170,130,20,110,0.15,0 output rose_with_bokeh.png") # Save a rose with bokeh effect to file
Longer tutorials are available in the documentation.
Documentation
Full documentation is being written at https://gmic-py.readthedocs.io/.
Supported platforms
gmic-py
works for Linux and Mac OS x 64bits architecture x Python >= 3.6. Windows support is planned for Q4 2020.
In case your environment is a type of Unix, but compiling from source is needed, note that the pip
installer will download gmic-py
's source and most possibly compile it very well.
See the CONTRIBUTING.md
file and the documentation for tips on building gmic-py
for your own OS.
Examples
Using your camera with G'MIC's optional OpenCV linking
If your machine has libopencv
installed and your gmic-py was compiled from source (ie. python setup.py build
), it will be dynamically linked.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for gmic-2.9.1a4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 931f4b83f5c1fb5fe33e44ff6a3c927adeb0fbb26923ccdbb85338075bf8458d |
|
MD5 | 292e0c90c74dfe4fa5380fda05b04a55 |
|
BLAKE2b-256 | 6452652fa97c43c61f2e49d743325ec1f1b28824db274b2fed7edaff32d4017e |
Hashes for gmic-2.9.1a4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e47ec9ffb348b0736ca20899db3dd17add8777bc6bdbbce24b692eb22cc90ed |
|
MD5 | bfdf15e04528f11492db006de28cfaed |
|
BLAKE2b-256 | 2c5d17662a9dc917b1c6613b4a68c26b9298cee017479b8a759c4b230c275b42 |
Hashes for gmic-2.9.1a4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b50319a4b245a14a68d494506f90e351a7affee800f9ad14348e263d26eed0 |
|
MD5 | c7673f8e697cbeb351603d14494df4f5 |
|
BLAKE2b-256 | 3db01b067b2bd81e46db55e21bf81040917e1c23eb1820fba6d29e3bc19ebbd6 |
Hashes for gmic-2.9.1a4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a73bbbda73d3448aa0effaf4daee06aa7ff13c676d217faa83e7f4ba8234f5 |
|
MD5 | 371fa9d757a0674ac90098a76ea998f9 |
|
BLAKE2b-256 | 2dcf1a642168c991816b4ee003073e45d8ba881868db72ef9740c590d7454d5b |
Hashes for gmic-2.9.1a4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede2709cb810fb3c4ccbbcd9fb4b5b7fc4c759aecbdcd11539938ed19f0274d5 |
|
MD5 | 5d900508782728272fe26c7616f47b92 |
|
BLAKE2b-256 | 002b7de14936ba16cf384ba7189f0e2ed32a5d6b892c63d62d8c4e008b5f94b3 |
Hashes for gmic-2.9.1a4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8188fd1a4c8f1e64b475b89951c6590995fc769d5c59f2483936aa1836be7a18 |
|
MD5 | 5998e41632269a26fe72b4e20d8ee880 |
|
BLAKE2b-256 | 046c30140f31e9df2e8cf9a9dbd9c8e2b1c2769ef920febd1073e5bd7e7a03f4 |