Most of what I’ll say in this reply is already known to you but it would be useful and helpful to anyone who is wondering about Trim, Resize and Crop.
The Trim, Resize and Crop functions are all very similar in that they cause the canvas size and location (relative to its current location) to be modified.
How that modification is controlled/specified by the user and the ‘side effects’ or ‘consequences’ are different between them.
Note: Resize is not the same as Scale. The canvas can be thought of as a rectangular viewport onto the infinitely large layers of the image.
Changing the size of the canvas and its position relative to existing painted layer content is very, very useful.
Trim:-
The simplest of the three. It only has main menu options as Image > Trim to (Image Size, Current Layer, Selection) where the canvas is trimmed/resized to the final size as indicated in the option.
So why is there a Trim to Image Size option, which results in no change to the canvas?
Trim will delete off canvas content for all layers of the resulting canvas.
So, Trim to Image Size is useful for removing off-canvas content as the only operation/change performed.
Resize:-
This is presented differently. It is run from Image → Resize Canvas and it has its own UI window with a combination of numerical value adjustment for new size and relative offset and a small graphic border presentation that can be dragged. This is mostly illustrative and is not suitable for fine control of the final canvas size or position.
Resize will not remove any off canvas content from the layers.
Crop:-
This is presented as a tool in the Toolbox and has its controls and options in the Tool Options docker. These include numerical value adjustment and on canvas/workspace dragging of a graphic element to represent and control the resulting new canvas size and location. This graphic control element is over the image on the canvas and so is useful when existing content location plays a part in consideration of what the final end result will be.
The Crop Tool options include ‘decorations’ to show e.g. division by thirds, fifths (that are placed on the canvas/image); which are useful for artistic and aesthetic considerations.
Crop will remove canvas content but that removal can be limited to a particular selected layer or can be made to include all off canvas content in the image and apparently can be limited to the current animation frame. (I’ve never used it to do that.)
So… They all do a very similar thing but have quite different UI/GUI and they have different consequences in terms of what happens to off canvas content.
In theory, they could all be combined into a single “Adjust The Canvas Size And Position” tool that had all the various options and GUI adjustment assistants in there to do everything that the existing Trim/Resize/Crop functions do, plus provide more options.
Some time ago, with consideration of the Trim and Resize functions (not Crop), I created a Wishlist bug report for modifying the Resize function and presentation:
415600 – Wishlist: Improved and additional Image Resize functions
With hindsight, this would have involved extensive GUI modifications that would need discussion.
Any attempt to combine or mix the existing Trim, Resize, Crop functions would be a significant change to the GUI and a disruptor to people’s existing workflow and experience.
(I personally would be happy to see Trim and Resize combined because I’m familiar with both of them and as far as I’m concerned they’re not very different apart from removal (or not) of off-canvas content. I’d be happy to see that as a checkbox option along with options for ‘To Image’, ‘To Layer’, ‘To Selection’ as overides to the GUI controls.
Bringing the Crop Tool into the mix would be a lot more complicated.)
Anything more that an additional Resize to Layer (and possibly a Resize to Selection) would be a lot of work and need lots of user comment and also GUI mock ups.
Hence my ‘simple’ Feature Request for a Resize to Layer function, which I thought should be ‘not difficult’ to do.
(Resize to Selection should also be ‘not difficult’ to do as well.)