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_xp2b◀  rep_txt2uints    |    rep_pattern_str  ▶

rep_xp2b

Arguments:

  • base_pow2_a,base_pow2_b,str_a,str_b

Description:

Convert between bases of power of 2 bases. Only binary, quaternary, octal, hexadecimal, and duotrigesimal number is supported.

base_pow2_? can be number representing the base, or string.
Accepted arguments for base_pow2_? -
base - small_id - big_id
2  - bin        - binary
4  - qua        - quaternary
8  - oct        - octal
16 - hex        - hexadecimal
32 - duo/duotri - duotrigesimal
str_? are the number represented by base_pow2_a
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.