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

  ilk: Flipping


For flipping, the origin should probably right at the middle of the image. The single argument to "-t flip" is the direction of the reflection vector; things move along this vector. Thus, "-t flip:0" means flip along the X axis, and "-t flip:90" means flip along the Y axis.
ilk -i init.ppm -0 u:0.5,0.5 -t flip:0 | tojpg > flipx.jpg
ilk -i init.ppm -0 u:0.5,0.5 -t flip:90 | tojpg > flipy.jpg