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.1a3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a538478a692c5ab39a8cc191ae31dfdc96f3811c847ec2dfd77523f8fe0da00f |
|
MD5 | 1e7faa27f7404a58b1d744a00c61137b |
|
BLAKE2b-256 | fe64fc26725ee447c3b2d2667621e0b7de1188446057885454555c2369b8fda3 |
Hashes for gmic-2.9.1a3-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc819323b750ba123f7ee06beff59d17a4c12bfd5d4562298fac0fbfc880ac8 |
|
MD5 | 92a39cbb386d1d2dcd993baeeebde2cc |
|
BLAKE2b-256 | f1f29eb315e524836a05190d36f79644c708a3e1af0a8562eba1b2872b272d6f |
Hashes for gmic-2.9.1a3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a169e1e21f2fe44797047fdcb26f1cdb40d18478b33c158e8ba5951ac59e2df8 |
|
MD5 | c9635e80b860898631d4f32815a12884 |
|
BLAKE2b-256 | 2be94f6c9a5e506a911f03e15de3d3d042a7ec8241fd5fab7a0d522eb10d7d08 |
Hashes for gmic-2.9.1a3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b1f8f70a9283e244e3b7b10d2320fc702ccc2f84968522632910aa4febd678 |
|
MD5 | 992d98726f1b875bb5b16687a11b17d2 |
|
BLAKE2b-256 | 0cd4b226f036feb4ca605a34cc71f7b9d799cbfbb7f2b9c87a30014b16c445b1 |
Hashes for gmic-2.9.1a3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641d37db9716453895d50ed352f7079c853e0449a8f8c47542c2ef4094785b7b |
|
MD5 | b992c719310010ff68a047a3c2e55358 |
|
BLAKE2b-256 | 21d9bc2210e2070b5a377b08e1b11995f278a093dedb9cae091f151d9db0bae9 |
Hashes for gmic-2.9.1a3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2f1188908518cd9752defc01b541494dc90787d18717177cc0cbeed6d8f043 |
|
MD5 | 8615f14e9b0a8f9dfb3fee32cd66bfd1 |
|
BLAKE2b-256 | 6270f346c91229159de4f398f1b73b0b04052b96cc5cf544f90200b0cce867e6 |