In Gimp, how can I *throw away* outside transparent pixels?

In Photshop, if I copy a portion of an image with surrounding transparent pixels and paste it into a new canvas, it will have the outside transparent pixels removed, resulting in a tight canvas containing only the outer bounding box.

Can I do the same thing in Gimp?


Solution 1:

Use the menus: Image> Autocrop Image

piece of cake.

Solution 2:

Image > Crop to Content (Version GIMP 2.10.12)

Solution 3:

As of GIMP 2.10.14 the menu would be Image > Zealous Crop