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.1a5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73ea275b2a668a09b83fd0eb04dde7ad7cb79b382214fe7a5601329360a45c44 |
|
MD5 | 75d716a5fe10ad432d9c61efe0852298 |
|
BLAKE2b-256 | ed6cd3ca82018d36963ee6691ba7bb01b7f29030db70c5186ef8a181f607af55 |
Hashes for gmic-2.9.1a5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a28c841723e1e6d78638f0f3a36b424326d6d41bc6d795fd0db3fd49a136740 |
|
MD5 | 2e723823dd13c1879047c28785cb9761 |
|
BLAKE2b-256 | 5d36b308f54e287b553912adcfad2b2d61a37d11867deab2792c404f05920976 |
Hashes for gmic-2.9.1a5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7782aa9e0b84da3fc6a92bb471d26f2739d323d8d58d73c51bb5f5d5eeb7ae38 |
|
MD5 | ef240a8d28a7eeb0519feecacd5cbc27 |
|
BLAKE2b-256 | 93f9aaf4c881c0a6a603f06bac5a132f6753091266bb2559f503722e90d14ff6 |
Hashes for gmic-2.9.1a5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae504f76ac29c8c314dc5a1811b96d11a49c5bd1f2d6fcf7e2abaa258f96843 |
|
MD5 | db565082379f70b6c87bc4bf9f510874 |
|
BLAKE2b-256 | f5392c264de5f79ef7796c2c355ca564f3fd993f8c735cf33894eac7b87d7f11 |
Hashes for gmic-2.9.1a5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c92251f28fca7a23c45bb831de6f41c43e8d7544dfc64e93d8318c6c9862c08f |
|
MD5 | 7878dae03bf1d2b4181e7e39d25e2035 |
|
BLAKE2b-256 | bff611f286b2a76a38dfc70fabae9958f3f223ee0e6ec945661aa477193245d2 |
Hashes for gmic-2.9.1a5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b784181a3b349d3d7421b0f5df7f278855e433a1d7c565424bb87942de321f |
|
MD5 | 45dd861b05347f655c4eec9040c31204 |
|
BLAKE2b-256 | 602c3f0baf54246a909f27354f6ce9c17ed45f7970e5ec8c774f742310d6da4e |