Skip to content

Image transformation commands

Giorgio Garofalo edited this page Jun 18, 2022 · 16 revisions

This page is work in progress!

Contents:

Recolorize

Command: -recolorize[=method]

Description:
Creates a copy of the source image (that relies on the default scheme) and adapts it to a custom scheme.

Arguments:

  • method: defines what color should be used in case some properties have more than one color (e.g. whitespace=FFFFFF,FF0000).
    It can be either first (default), last or random;

Properties needed:

  • source: image to recolorize;
  • colors: custom scheme that should be applied;
  • lib (optional): library files used.

Example:
to do

Standardize

Command: -standardize

Compact

Command: `-compact[=size]

Decompact

Command: -decompact

Standardize + decompact

Command: -standardecompact
Runs -standardize and -decompact.

Mask

Command: -mask=<mask path>

Clone this wiki locally