Image size and orientation can be modified in several ways using ImagXpress®:
- Modify the size or orientation of an image during loading of the image into ImagXpress (see Specify Loading Options). In this case, the DIB in ImagXpress is modified to the specified size and orientation, but the source image is not modified.
- Modify the size (or orientation) of the display of the image in the view window, without modifying the DIB in ImagXpress. (see Change image display size).
- Modify the size and orientation of an image that is already loaded into ImagXpress. In this case, the DIB in ImagXpress is modified to the specified size and orientation, but the source image is not modified. (see below)
Resize
The Resize and ResizeEx methods resize the current image according to the specified algorithm.
- If ScaleResizetoGray property is True and the DIB is 1-bit per pixel, the image resizes and scales to gray when Resize or ResizeEx is called.
- If ScaleResizePreserveBlack is true, the image resizes and lines are darkened, to preserve details in the image. This is useful when shrinking image size).
- After resizing, the ImagHeight and ImagWidth properties update to the new image height and width.
Crop
The Crop method adjusts the current image to the specified size. (The AutoCrop, CropBorder, and DocumentBorderCrop methods provide capability to crop space or border from an image. These are generally used primarily to clean up the document, rather than resize it.) After cropping, the ImagHeight and ImagWidth properties update to the new image height and width.
Flip
The Flip method vertically flips the image.
Mirror
The Mirror method rotates the image 180 degrees, then flips it to create a mirror image.
Rotate
The Rotate method rotates the current DIB by the specified angle, from -360 to 360 degrees. After rotating, the ImagHeight and ImagWidth properties update to the new image height and width.
Annotate an Image
Print an Image
Draw Graphics
Specify a Part of the Image to Process
Apply Image Effects
Merge Images
Perform Pixel-Level Modifications
Modify Alpha Channel
Correct Color & Contrast
Cleanup Images
Modify Image Metadata
Modify Image Palette
Image Resizing
Cropping