Sign in to follow this  
Genjix

Gimp - split huge image into sub rects and vice versa

Recommended Posts

Genjix    100
How can I take a big image in gimp and split it up into smaller equal sized pieces and also do the reverse-combine lots of smaller images into one larger one.
Thanks.

Share this post


Link to post
Share on other sites
leiavoia    960
If you get the GIMP-Perl plugin and some scripts, there is one called Perl-o-tine that does splitting on a grid or by custom lines.

As for rejoining, i'm not sure if there is such a thing, but with a little scripting you could easily roll your own.

Share this post


Link to post
Share on other sites
Apocryphiliac    223
If you're planning on doing this for a large number of images, you may want to look into using ImageMagick. ImageMagick is a set of command-line tools that allow batch image manipulation, conversion, etc. making it fairly easy to write scripts to automatically do all the work for you.

Share this post


Link to post
Share on other sites
leiavoia    960
I would recommend image magick too. I'm not sure if it will mend images, but it probably does. One thing that most people may not know is that GIMP is also command-line scriptable. Not quite as flexible as ImageMagick, but worth looking into if IM won't do some more complicated functions.

Share this post


Link to post
Share on other sites
eedok    982
woot <3 imagemagick. A script shouldn't be that hard to make to do what you want, just call convert with the -crop flag to split your big image into smaller ones, then call convert with -/+append to join it back together.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this