Home > Command Line Manual > Example Usage of the Command Line > Manipulate > Shift > P6 Shift
/P# |
Meaning |
Extra Parameters: /a{Parameter1} /j |
6 |
Shift Shift an Image in the X and Y direction |
/a = Horizontal displacement (pixels). /b = Vertical displacement (pixels) /c = Background color of the new image. This is an integer value. BackColor = Red + Green*256 + Blue*256*256 (Red, Green and Blue are 8 bits each) For example, |
This special process can flip an image in the direction you specify.
Example 1: Shift an image along the X and Y Axis
Specify the source (/S) and output files (/T). Specify the special process (/P6). Shift the image along the X 10 pixels, the Y -5 pixels and set a light green background (/a /b and /c). Show status of command line with on-screen confirmation (/V).
ConvertImage.EXE /S C:\Input\Tryme.jpg /T C:\Output\Out.jpg /P6 /a10 /b-5 /c11321651 /V
See Also:
Helpful Hints for Creating a Command Line