Resizing and cropping rasters

 

A raster image may have too much white space around it, or the image area may be too large. You can crop or resize a raster to fix these problems.

To crop a raster layer:

· Use the IN_CropLayer function.

You can specify the coordinates of the diagonal corners of the crop area, or have Imagenation automatically remove the white space around the image, or crop the image to a standard size. The last two options work only with bilevel rasters.

To change the size of a raster image:

· Use the IN_ResizePage function. You can specify the scale multiplier, and decide whether to preserve aspect ratio.

Note that you can also resize an image as you rasterize it by using the IN_Rasterize command.

Back to: Overview: Improving raster images

See also

Getting page and layer extents