icrop(1X)
NAME
icrop - crop an image
SYNTAX
icrop width length x y image
ARGUMENTS
width Specifies the width in pixels of the region to be cropped.
length Specifies the length in pixels of the region to be cropped.
x Specifies the x coordinate in pixels where the cropping begins in the input image.
y Specifies the y coordinate in pixels where the cropping begins in the input image.
image Specifies the name of the input file, previously created by the savimg command, from which the image is to be cropped.
DESCRIPTION
The icrop command crops a rectangular area from the specified image. The size and location of the rectangular area is determined by the specified coordinates.
RESTRICTIONS
Unless otherwise redirected to a file or piped to another image process, all output is displayed as raw data at your terminal.
EXAMPLES
icrop 300 450 220 50 image1 > image2
This command, starting 220 pixels from the left and 50 pixels from the top, crops an image 300 pixels wide and 450 pixels long from image1 and redirects the output to image2.
FILES
/usr/include/imghdr.h Defines the image file format.