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  ▸  rgb2ycocgr◀  yes82rgb    |    ycocgr2rgb  ▶

rgb2ycocgr

No arguments

Description:

Convert color representation of selected images from RGB to YCoCg-R.

Source: https://en.wikipedia.org/wiki/YCoCg

Example of use:

image.jpg rgb2ohta split c

Command: image.jpg rgb2ohta split c
Command: image.jpg rgb2ohta split c
Command: image.jpg rgb2ohta split c
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.