G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
Banner Institutions GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.6.2 (2025/09/24)

Reference
Table of Contents  ▸  List of Commands  ▸  Values Manipulation  ▸  apply_mask◀  apply_gamma    |    balance_gamma  ▶

apply_mask

Arguments:

  • "command",[opacity_mask],_max_opacity_mask

Description:

Apply specified command on selected images but only inside the specified mask.

Default values:

max_opacity_mask=1.

Example of use:

<a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> 100%,100% noise. 10 blur. 2%,0 ge. 50% blur. 0.5% normalize. 0,1 +apply_mask.. "sepia whirls",[-1]

Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> 100%,100% noise. 10 blur. 2%,0 ge. 50% blur. 0.5% normalize. 0,1 +apply_mask.. "sepia whirls",[-1]
Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> 100%,100% noise. 10 blur. 2%,0 ge. 50% blur. 0.5% normalize. 0,1 +apply_mask.. "sepia whirls",[-1]
Command: <a href="image.jpg" class="highslide" onclick="return hs.expand(this)">image.jpg</a> 100%,100% noise. 10 blur. 2%,0 ge. 50% blur. 0.5% normalize. 0,1 +apply_mask.. "sepia whirls",[-1]
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.