Files
AmigaExamples/tools/resize
..
2016-03-12 13:19:12 +11:00
2016-03-13 09:16:03 +11:00

resize

Nicely resize images

usage

    rezize:  --input <input.png> --output <output.png> --width <width> --height <height>
    options:
      --blur <blur>
      --interlaced
      --verbose

resize will resize images using filtering to try and make the resampled output still look good. It currently is hard coded to use a BesselFilter. Although by hacking the source you could use any of these filters:

   * BoxFilter
   * TriangleFilter
   * HermiteFilter
   * HanningFilter
   * HammingFilter
   * BlackmanFilter
   * GaussianFilter
   * QuadraticFilter
   * CubicFilter
   * CatromFilter
   * MitchellFilter
   * LanczosFilter
   * BesselFilter
   * SincFilter

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 new width in pixels.

--height <height>

Specify the new height in pixels.

options

--interlaced

Generated output suitable for an interlaced display. The aspect ratio will be adjusted for double the vertical resolution. Specify the dimensions of the bitplane data (eg --width=320 --height=512).

--blur <blur>

Specify the blur factor to be applied. 0 is no blur. 0.75 looks good for most reductions.

--verbose

Display debugging information