Skip to main content

Binary Python3 bindings for the G'MIC C++ image processing library

Project description

G'MIC Logo Python Logo

Python binding for G'MIC - A Full-Featured Open-Source Framework for Image Processing

https://gmic.eu

gmic-py

PyPI version shields.io PyPI download monthly PyPI license PyPI format PyPI pyversions PyPI implementation PyPI status Read the Docs

CPython GMIC Optimized Python package (Source and Debian/Ubuntu OS compilation) CPython GMIC Manylinux 2010 & 2014 x86_64 Optimized No-release CPython GMIC Debug Python package (Source and Debian/Ubuntu OS compilation) CPython GMIC MacOS Optimized Build

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.

Example script

Live example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gmic-2.9.1a1-cp38-cp38-manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.8

gmic-2.9.1a1-cp38-cp38-manylinux2010_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

gmic-2.9.1a1-cp37-cp37m-manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.7m

gmic-2.9.1a1-cp37-cp37m-manylinux2010_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

gmic-2.9.1a1-cp36-cp36m-manylinux2014_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.6m

gmic-2.9.1a1-cp36-cp36m-manylinux2010_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

File details

Details for the file gmic-2.9.1a1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15cfdb9e2af12b9f27aa450de955c3a954033553312d7e68c62ada4ad98147a3
MD5 19c615434d120ae7bfbcca5221bff01c
BLAKE2b-256 6a8f9dabdb59b2e9468e1a3d5d80c5c2b7d546428950cf073c9aa907b9cdc6cc

See more details on using hashes here.

File details

Details for the file gmic-2.9.1a1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ac8b2eb25c8bf90ecb81b9230df959331920205165f19e2ffaf2690169824480
MD5 bc0681fafd314400627d978d664debf3
BLAKE2b-256 f7df070480496d290f1610f81c3a5289931bfe67918c9774f33f37d84b898bb2

See more details on using hashes here.

File details

Details for the file gmic-2.9.1a1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d8079a3c5ef015674629b94ae707749abaa8202e93fc7da2bdc2e7284a182bb9
MD5 69b20dc2a6d8a8c5d48b8ccaf44222b4
BLAKE2b-256 b9476619a69a3c379b6e66ec5bdca9af5a90741c16588ade2af553a3c1ce17a0

See more details on using hashes here.

File details

Details for the file gmic-2.9.1a1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 248e5ad67ec9c062d0ba3158e3879426dd6d1c3c2dab392ba106ca33618a4cf9
MD5 a5f59bad25f1ef5b670b60f5589cff40
BLAKE2b-256 941685c4ea457f2350680803f6cc18d94732080d7358ee8e621c86cbcee869a7

See more details on using hashes here.

File details

Details for the file gmic-2.9.1a1-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5eb75b9d334bc58d88e402f2f2108d7a15a819cebf3c9e1143ea7528bc33974a
MD5 bbc41c5cc5d406967b13202637469308
BLAKE2b-256 c943f8cbc667ff1e8eb556897c256da6b6317c94dc8e6b9b930a0af0b5690d2f

See more details on using hashes here.

File details

Details for the file gmic-2.9.1a1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gmic-2.9.1a1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.6 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.12

File hashes

Hashes for gmic-2.9.1a1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 5c6da9da5705004eee344edc1afeb3734b820861b6798f7ed0fb21341be09af7
MD5 3b928a24ee95b7d4925e43124615c2e5
BLAKE2b-256 16a88ae1643c10a72f4930f1f0e609d51e595b9229415cb9ab0cdce68781288e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page