Celeb Glow
general | March 04, 2026

How can I crop an image from the inside?

Cropping an image from the outside is easy in Gimp: Select a rectangular part of the image, Image > Crop to Selection.

Is there an comparably easy way to crop out something? For example, when having this image:Small image with two shapes and space inbetween

When I want to "crop out" the unused area in the middle, how can I do that?

The expected result should be like this of course (without the black lines at the sides):

The same image without the space inbetween

3 Answers

As others find alternatives, it does seem like this is not the best way to do it at all. Both Photoshop & Gimp it would appear have tools that can at least go part way towards this.


There's no easy way in any app I know of, but see the other answer for a quite specific 'image reducer'.

Cut one section, paste to new layer, move to desired location, crop the result [merge/flatten if appropriate].

enter image description here

3

For the image in the post above for example, in Gimp 2.10 I used "Image > Zealous Crop" which resulted in this image.

Zealour Crop

Although not sure on the results with a more detailed image or complex background.

2

Let me introduce you to the Liquid Rescale plugin. It magically knows which rows/columns should be removed. It's not perfect, but the results are sometimes impressive nevertheless.

Here's your image liquid rescaled. Keep in mind that the only parameters were the target dimensions.

Original and scaled image, side by side

This photo resized to widescreen. Again, the algorithm decides what to remove on its own, I've only changed the image height:

Original and scaled image, side by side

Now the coolest part: the same photo, but with the dog automatically removed by Liquid Rescale. I just had to paint a "feature discard" mask over the dog. The algorithm decided what pixels to put in its place.

Original and scaled image, side by side. The dog is gone, instead of it a mostly natural-looking vista was added.

This is what the feature discard mask looked like:

Original photo, with the dog roughly covered with semi-transparent red mask

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy