This command can be used to enlarge or reduce the current image. Each axis can have a different scale factor. The Resample command can be used to detail regions of an image by enlarging them. For reducing use factors inferior to unity. Interpolation by pixel duplication conserves the sharpness of the image, but of course the result has an artificial look.
Bilinear interpolation gives the image a smoother look than simple pixel duplication.
Nevertheless, for large enlargement factors, some artificial geometric structures can appear around stars, so, spline interpolation is preferable. The Window command allows you to easily modify the format of an image. These changes are useful when, for example, the region of interest only occupies a small part of the image. You can then create an image containing only this region, which saves space and speeds up the calculations. The center of the rotation can be off the screen.