How to install GMIC 2.0 plugin for GIMP on Ubuntu 17.04

How to install GMIC 2.0 plugin for GIMP on Ubuntu 17.04

GMIC is a full-featured open-source framework for image processing. It provides several different user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, thus including 2d color images. GMIC also provides a powerful and autonomous command-line interface that can be used in ImageMagick or GraphicsMagick projects. This tutorial explains the installation procedure of GMIC 2.0 plugin for GIMP on Ubuntu 17.04.

Installation procedure

To start the installation procedure, add the GMIC dependency package into repository by executing the following command.

root@linuxhelp1:~# add-apt-repository ppa:otto-kesselgulasch/gimp
 This PPA is for Ubuntu > =14.04 and Linux Mint > =17
Press [ENTER] to continue or ctrl-c to cancel adding it
.
.
.
gpg: key 3BDAAC08614C4B38: public key " Launchpad otto06217"  imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
OK

The repositories are added to the target system. Update the system by running the following apt-get update command.

root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease                          
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease                                 
Get:3 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu zesty InRelease [15.4 kB]
.
.
.
Get:7 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu zesty/main amd64 Packages [3,088 B]
Get:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu zesty/main Translation-en [1,828 B]
Fetched 23.4 kB in 1s (16.3 kB/s)
Reading package lists... Done

The target system is updated with the required repositories. Install the GMIC package by executing the following apt-get install command.

root@linuxhelp1:~# apt-get install gmic gimp-gmic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdc1394-22 libgtkglext1 libopencv-core2.4v5 libopencv-highgui2.4-deb0
  libopencv-imgproc2.4v5 libpangox-1.0-0 libtbb2
.
.
.
Setting up libgtkglext1:amd64 (1.2.0-6) ...
Setting up libopencv-highgui2.4-deb0:amd64 (2.4.9.1+dfsg1-2) ...
Setting up gmic (1:2.0.0-0z3~ppa) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...

The GMIC package has been successfully installed. To run the application, execute the GMIC command in command prompt.

root@linuxhelp1:~# gmic

The application is running successfully in the target system.

Wasn' t that an easy installation procedure? GMIC allows the user to add custom filters written in GMIC language interpreted by the internal image processing engine.

Tag : Ubuntu GMIC
FAQ
Q
What should I put in the commit message when doing a git commit?
A
Please put a short explanation of the change on the first line. Then, after an empty line, you can describe the change in more detail using as many lines as you need. Try not to exceed 72 columns.

If the commit fixes a bug or part of a bug please use the bug number and description as the first line of the commit message. It's most convenient to just copy the line from the Bugzilla bug page.
Q
How do I get my plug-in included in the GIMP?
A
The best way to make your plug-in available to the World is to submit it to the GIMP Plug-In Registry.

If you are certain that your plug-in will be useful to all GIMP users, then you can ask the GIMP developers to consider it for inclusion in future GIMP release. The best way to do that is to suggest it on the GIMP developer mailing list or to open an enhancement request in Bugzilla. However, we would like to limit the number of plug-ins included in the standard distribution and encourage all users to use the registry.
Q
What’s the GIMP’s license, and how do I comply with it?
A
GIMP is distributed under terms of General Public License v3 and later. In a nutshell, this means:

You are free to use GIMP, for any purpose
You are free to distribute GIMP
You can study how GIMP works and change it
You can distribute changed versions of GIMP
Q
What is the official site of this?
A
use the link as follow "https://gmic.eu".
Q
How do I debug a GIMP plug-in?
A
Eeek! The plug-in you're working on has a bug in it! And the fix isn't completely obvious, so you want to use a debugger to see what is going on. But hmm, how does one start a plug-in under a debugger if GIMP is the one who is starting the plug-in...

To address this issue, libgimp has some hooks controlled by the GIMP_PLUGIN_DEBUG environment variable. The idea is that you can attach a debugger to the pid of the plug-in you want to debug. The process is described in the file debug-plug-ins.txt.