You can shrink the canvas.
ctrl+alt+c
If your picture is just a layer
Want to keep the content unchanged
Narrow the background
Scale can be identified by content.
Make a constituency and choose what you want to keep.
And then perform storage selection.
Reuse content recognition rate
In the tool property bar above.
Protection column selection
The voters you just saved.
And then shrink
After confirming the shrinkage deformation
Just cut off the transparent pixels with a cutting tool.