Syntax
Document.MakePixelsSquare()
Parameters
None
Returns
Returns
Remarks
Resizes the image so that the resultant pixels have the same size horizontally and vertically. If the original image has pixels which are wider than they are tall, the image will be expanded horizontally (since the new square pixels are narrower than before, and it therefore requires more of them). Similarly, an image taken with a camera with tall narrow pixels will expand vertically when this method is invoked.
MakePixelsSquare is a convenience function in that the same result can be achieved using GetFITSKey (to retrieve the pixel dimensions), followed by changing XSize or YSize to the correct value.
This method provides part of the functionality of MaxIm DL's Resize command.