This extension allows a user to automatically rescale an image to fit a rectangle defined by horizontal and vertical guides.
Users can choose whether to fit horizontally or vertically, when the aspect ratio of the image layer does not match that of the rectangle. The image will be centered on the rectangle.
Select a paint layer. Set up at least 4 guides to define a rectangle to be fitted to. Press the "Fit" button.