Can GIMP split an image into multiple images?

I've been scanning a lot of photos recently, more than one at a time. I now have multiple jpegs, each containing multiple photos.

Can I, using GIMP , "split" a jpg into 3 smaller files ?

What I used to do is : copy the jpg 3 times, and crop a different picture in each copy.

There must be an easier way to do this !

EDIT : Is there a plugin that can do that ? I've looked around, but only found plugins that "cut" an image into pieces of equal size.


Solution 1:

ImageMagick. It's a command-line tool but amazingly powerful and flexible so worth the effort to learn it. For example:

convert -extract 1024x1024+0+0 original.png target.png

Where:

  • 1024x1024 is the width and height of the required crop
  • +0+0 are x and y offsets into the original image

You can stick dozens of these commands into a .cmd file and run them effortlessly.

Look at the ImageMagick documentation to see there are thousands of options to these commands. A very powerful tool and open source too!

Solution 2:

You can do it like this:

  • Rectangle select an image
  • Edit -> Copy
  • Edit -> Paste as -> New Image

Solution 3:

You can divide an image in GIMP in a row-column way with guide rows and the guillotine (paper cutter) tool. From GIMP User Manual:

In addition to the image grid, GIMP also gives you a more flexible type of positioning aid: guides. These are horizontal or vertical lines you can temporarily display on an image while you are working on it.

To create a guide, simply click on one of the rulers in the image window and pull out a guide, while holding the mouse button pressed. The guide is then displayed as a blue, dashed line, which follows the pointer. As soon as you create a guide, the “Move” tool is activated and the mouse pointer changes to the Move icon.

The Guillotine command slices up the current image, based on the image's guides. It cuts the image along each guide, similar to slicing documents in an office with a guillotine (paper cutter) and creates new images out of the pieces. You can access this command from the image menubar through Image -> Transform -> Guillotine.