# info > pnmflip

[pnmflip(1)](https://www.chedong.com/phpMan.php/man/pnmflip/1/markdown)                  General Commands Manual                 [pnmflip(1)](https://www.chedong.com/phpMan.php/man/pnmflip/1/markdown)

## NAME
       pnmflip - perform one or more flip operations on a portable anymap

## SYNOPSIS
       pnmflip   [-leftright|-lr]   [-topbottom|-tb]   [-transpose|-xy]  [-ro-
       tate90|-r90|-ccw ] [-rotate270|-r270|-cw ] [-rotate180|-r180] [pnmfile]

## DESCRIPTION
       Reads a portable anymap as input.  Performs one  or  more  flip  opera-
       tions, in the order specified, and writes out a portable anymap.

## OPTIONS
       The  flip operations available are: left for right (-leftright or -lr);
       top for bottom (-topbottom or -tb); and  transposition  (-transpose  or
       -xy).  In addition, some canned concatenations are available: -rotate90
       or -ccw is equivalent to -transpose -topbottom; -rotate270  or  -cw  is
       equivalent  to  -transpose  -leftright; and -rotate180 is equivalent to
       -leftright -topbottom.

       All flags can be abbreviated to their shortest unique prefix.

## SEE ALSO
       [pnmrotate(1)](https://www.chedong.com/phpMan.php/man/pnmrotate/1/markdown), [pnm(5)](https://www.chedong.com/phpMan.php/man/pnm/5/markdown)

## AUTHOR
       Copyright (C) 1989 by Jef Poskanzer.

                                 25 July 1989                       [pnmflip(1)](https://www.chedong.com/phpMan.php/man/pnmflip/1/markdown)
