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.1a1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15cfdb9e2af12b9f27aa450de955c3a954033553312d7e68c62ada4ad98147a3 |
|
MD5 | 19c615434d120ae7bfbcca5221bff01c |
|
BLAKE2b-256 | 6a8f9dabdb59b2e9468e1a3d5d80c5c2b7d546428950cf073c9aa907b9cdc6cc |
Hashes for gmic-2.9.1a1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8b2eb25c8bf90ecb81b9230df959331920205165f19e2ffaf2690169824480 |
|
MD5 | bc0681fafd314400627d978d664debf3 |
|
BLAKE2b-256 | f7df070480496d290f1610f81c3a5289931bfe67918c9774f33f37d84b898bb2 |
Hashes for gmic-2.9.1a1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8079a3c5ef015674629b94ae707749abaa8202e93fc7da2bdc2e7284a182bb9 |
|
MD5 | 69b20dc2a6d8a8c5d48b8ccaf44222b4 |
|
BLAKE2b-256 | b9476619a69a3c379b6e66ec5bdca9af5a90741c16588ade2af553a3c1ce17a0 |
Hashes for gmic-2.9.1a1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 248e5ad67ec9c062d0ba3158e3879426dd6d1c3c2dab392ba106ca33618a4cf9 |
|
MD5 | a5f59bad25f1ef5b670b60f5589cff40 |
|
BLAKE2b-256 | 941685c4ea457f2350680803f6cc18d94732080d7358ee8e621c86cbcee869a7 |
Hashes for gmic-2.9.1a1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb75b9d334bc58d88e402f2f2108d7a15a819cebf3c9e1143ea7528bc33974a |
|
MD5 | bbc41c5cc5d406967b13202637469308 |
|
BLAKE2b-256 | c943f8cbc667ff1e8eb556897c256da6b6317c94dc8e6b9b930a0af0b5690d2f |
Hashes for gmic-2.9.1a1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c6da9da5705004eee344edc1afeb3734b820861b6798f7ed0fb21341be09af7 |
|
MD5 | 3b928a24ee95b7d4925e43124615c2e5 |
|
BLAKE2b-256 | 16a88ae1643c10a72f4930f1f0e609d51e595b9229415cb9ab0cdce68781288e |