Command: Scale

Apply a percentage multiplier to the size of the input image. To nicely scale pixel art, it is recommended to use a power of 2 as your scale (e.g. 2.0, 4.0, 8.0)

Usage

Usage: crunch scale [OPTIONS] <INPUT> <OUTPUT>

Arguments:
  <INPUT>   The path to the image file
  <OUTPUT>  The path to write the scaled image

Options:
      --factor <FACTOR>  The scale factor to use; numbers between 0-1 shrink the image; numbers > 1 enlarge [default: 1]
  -h, --help             Print help
  -V, --version          Print version

Arguments

  • factor: Must be specified. Defines how many steps should be applied to this image. Steps are clockwise, three clockwise steps are equivalent to one counter-clockwise steps. Values:

Example

results matching ""

    No results matching ""