Cropping an image means creating a new image from a part of an original image. The Image Viewer app enables you to crop an image interactively by using Crop Image tool.
After you open an image in Image Viewer, start the Crop Image tool by clicking Crop Image in the Image Viewer toolbar or by selecting Crop Image from the Image Viewer Tools menu. For more information about opening an image in Image Viewer, see Open Image Viewer App.
When you move the pointer over the image, the pointer changes to cross hairs . Define the rectangular crop region by clicking and dragging the mouse over the image. You can fine-tune the crop rectangle by moving and resizing the crop rectangle using the mouse. Or, if you want to crop a different region, move to the new location and click and drag again. To zoom in or out on the image while the Crop Image tool is active, use Ctrl+Plus or Ctrl+Minus keys. Note that these are the Plus(+) and Minus(-) keys on the numeric keypad of your keyboard.
The figure shows a crop rectangle being defined using the Crop Image tool.
When you are finished defining the crop region, perform the crop operation. Double-click the left mouse button or right-click inside the region and select Crop Image from the context menu. Image Viewer displays the cropped image. If you have other modular interactive tools open, then they will update to show the newly cropped image.
By default, if you close Image Viewer, then the app does not save the modified image data. To save the cropped image, you can use the Save As option from the Image Viewer File menu to store the modified data in a file or use the Export to Workspace option to save the modified data in the workspace variable.