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: 4.0.4 (2026/08/19)

Reference
Table of Contents  ▸  List of Commands  ▸  Reptorian's Commands  ▸  rep_color_modulo_texture◀  rep_technorobbo_intense_filtering    |    rep_shape_brick  ▶

rep_color_modulo_texture

Arguments:

  • colorspace={ 0=rgb | 1=ryb | 2=cmy | 3=cmyk | 4=hsi | 5=hsl | 6=hsv | 7=lab | 8=lch | 9=yiq | 10=yuv | 11=ycbcr | 12=ycbcrglic | 13=xyz | 14=yes },_include_alpha={ 0=no_alpha | 1=alpha},0<=_channel_order<{ 6 | 24 },_flip_diagonal={ 0=do_not_flip | 1=flip },sublevel>=0,interpolation>=0,_modulo_method_1= { 0=Mod | 1=Reflected Mod | 2=Divmod | 3=Reflected Divmod },_modulo_value_a_1>0,_modulo_value_b_1>0,_angle_1<=360,_value_shift_1>0,_centered_1= { 0=Not centered | 1=Centered },_negate_mod_1= { 0=Not Negated | 1=Negated },_normalize_bool_1= { 0=Do not Normalize | 1=Normalize }..._negate_mod_3

Description:

Inspired by MadJik's Color Modulo Texture for Paint.NET, this is a extension of that filter converted into G'MIC form. New features is being able to change color space, allow alpha, and anti-aliasing.

(equivalent to shortcut command rep_colmt).


_modulo_method defines what method of modulo operation would be applied to each channel.
_modulo_value_a and modulo_value_b is value used for calculation of modulo of function per channel.
_angle defines the function angle.
_centered defines if the function are centered.
_value_shift adds value to function before modulo calculation.
_centered is used to define whether the modulo is center.
_negate_mod negates the end modulo value.
_normalize_bool is used to normalize values. Note - This can be used to make the filter behave similar to Madjik's Color Modulo Texture filter.
_diagonal_flip is used to flip diagonal function.
_colorspacemode defines the color space of modulo.
_contain_alpha adds alpha value to modulo. In the case of CMYK, this option is nullified, and K is used to replace alpha instead.
_subpixel_processing_level defines the subpixel processing level.
_interpolation defines the method of interpolation.
_channel_num defines the order of channel.

Default values:

_include_alpha=0,_channel_order=0,_flip_diagonal=0,_sublevel=1,_interpolation=1,_modulo_method_n=3,_modulo_value_a_n=196,_modulo_value_b_n=255,_angle_n=0,_value_shift_n=0,_center_n=0,_negate_n=0,_normalize_n=0

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.