Get Teem at Fast, secure and Free Open Source software downloads
teem / bin

  ilk: min, max, sizes

Min, Max, and Sizes

The remaining options to ilk allow the domain of the output image to be something other than the domain of the input image, and for the resolution to be different as well. The arguments to the "-min" and "-max" fields are in terms of input pixel index space.
ilk -i init.ppm -t rotate:10 -min -80 -80 -max 80 80 -s 256 256 -b wrap \
  | tojpg > minmax.jpg
ilk -i init.ppm -t identity -s x0.5 x0.5 -k cubic:1,0 | tojpg > small.jpg