AmigaExamples/tools/croppa
alpine9000 951d878082 updated tool tests 2016-05-18 15:47:31 +10:00
..
reference updated tool tests 2016-05-18 15:47:31 +10:00
Makefile updated tool tests 2016-05-18 15:47:31 +10:00
README.md Update README.md 2016-04-21 11:51:22 +10:00
croppa.c refactor towards single sprite map 2016-04-21 16:49:33 +10:00

README.md

croppa

Crop images

usage

    croppa:  --input <input.png> --output <output.png> --x <x> --y <y> --width <width> --height <height>
    options:
      --dx <dx> (default: width)
      --dy <dy> (default: height)
      --rows <num rows> (default: 1)
      --cols <num columns> (default: 1)
      --verbose

Crop will extract one or more images from a master image.

mandatory arguments

--input <input.png>

Specify the filename of the image to be resized.

--output <output.png>

Specify the filename of the resized image file.

--width <width>

Specify the width of the crop area in pixels.

--height <height>

Specify the height of the crop area in pixels.

--x <x>

Specify the x coordinate for the start of the crop in pixels.

--y <x>

Specify the y coordinate for the start of the crop in pixels.

options

--dx <dx>

Specify the number of pixels added to x after each crop

--dy <dy>

Specify the number of pixels added to y after each crop

--rows <rows>

Specify the number rows of images that will be cropped (total number of images will be rows*cols)

--cols <cols>

Specify the number columns of images that will be cropped (total number of images will be rows*cols)

--verbose

Display debugging information