Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
pnmcrop - crop a portable anymap |
pnmcrop [-white|-black] [-left] [-right] [-top] [-bottom] [pnmfile] |
Reads a portable anymap as input. Removes edges that are the background color, and produces a portable anymap as output. |
By default, it makes a guess as to what the background color is. You can override the default with the -white and -black flags. The options -left, -right, -top and -bottom restrict cropping to the sides specified. The default is to crop all sides of the image. All flags can be abbreviated to their shortest unique prefix. |
pnmcut(1), pnm(5) |
Copyright (C) 1989 by Jef Poskanzer. |