| RGBGFX(1) | General Commands Manual | RGBGFX(1) | 
rgbgfx —
Game Boy graphics converter
rgbgfx | 
    [-CDhmuVv] [-f |
      -F] [-a
      attrmap | -A]
      [-d depth]
      [-o out_file]
      [-p pal_file |
      -P] [-t
      tilemap | -T]
      [-x tiles]
      file | 
  
rgbgfx program converts PNG images into the Nintendo
  Game Boy's planar tile format.
The resulting colors and their palette indices are determined differently depending on the input PNG file:
The input image may not contain more colors than the selected bit depth allows. Transparent pixels are set to palette index 0.
--verb is
  - -verbose, but
  --ver is invalid because it
  could also be --version. The
  arguments are as follows:
-a
    attrmap,
    --attr-map
    attrmap-m
      to keep track the mirror direction of mirrored duplicate tiles.-A,
    --output-attr-map-a, but the attrmap file output name is
      made by taking the input filename, removing the file extension, and
      appending .attrmap.-C,
    --color-curve-D,
    --debug-d
    depth,
    --depth
    depth-f,
    --fix-F,
    --fix-and-save-f, but additionally, the supplied command
      line parameters are saved within the PNG and will be loaded and
      automatically used next time.-h,
    --horizontal-m,
    --mirror-tiles-u.-o
    out_file,
    --output
    out_file-p
    pal_file,
    --palette
    pal_file-P,
    --output-palette-p, but the palette file output name is
      made by taking the input PNG file's filename, removing the file extension,
      and appending .pal.-t
    tilemap,
    --tilemap
    tilemap-u or
      -m to keep track of duplicate tiles.-T,
    --output-tilemap-t, but the tilemap file output name is
      made by taking the input filename, removing the file extension, and
      appending .tilemap.-u,
    --unique-tiles-V,
    --version-v,
    --verbose-x
    tiles,
    --trim-end
    tilesThe following creates a planar 2bpp file with only unique tiles, and its tilemap out.tilemap:
The following creates a planar 2bpp file with only unique tiles accounting for tile mirroring and its associated tilemap out.tilemap and attrmap out.attrmap:
The following will do nothing:
rgbgfx was created by stag019 to
  be included in RGBDS. It is now maintained by a number of contributors at
  https://github.com/rednex/rgbds.
| December 5, 2019 | General |