Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Merge pictures separated by Guillotine
#1
Hello all,

Sorry if this is a newb question. I am new to GIMP but trying to learn.

I separated a large picture into smaller squares using Guillotine. I made the changes I wanted to for each square but now would like to merge it all together again. What would be the process or steps to do this?

I tried searching the forums and online for this but did not see anything about merging pictures separated using guillotine.

Thank you ahead of time for your help and support!
Reply
#2
Really need more information. Much depends on the number of 'tiles' - 6 or 600

For lots of tiles there is the align tool, https://docs.gimp.org/2.10/en/gimp-tool-align.html not so easy to use. You can distribute a set of tiles as rows. Then use those and distribute them as columns. It does mean you have to have the tiles in order and they need a regular size for an offset.

For a small number of tiles you could try

Make a canvas larger than the original. Add a transparent layer.
Space the tiles out roughly in order
Add guides so you can move the tiles into groups of 4 (or 2)

screenshot https://i.imgur.com/W4GPtV6.jpg

Make sure View -> Snap to Guides is on.
Move groups of tiles so they snap to a guides intersection.
Layer -> New from Visible to get the tiles in one layer.

https://i.imgur.com/mjEZhiu.jpg

Now use Image -> Zealous Crop to remove any transparency between the groups of tiles.

https://i.imgur.com/VRxE7Ut.jpg
Reply
#3
If your tile files have been given some sequence number (or X-Y position), try to load them with ofn-tiles.
Reply
#4
The number of tiles is 256. Currently I have a 768 by 768 pixel picture divided into 48 by 48 pixel tiles. I am editing/creating the tiles and then adding them back to the main picture.

The end goal is to create custom or edited tiles for RPG Maker MV. Currently I am editing existing tilesets to get used to the gimp controls but plan to create additional custom tiles. RPG Maker uses an icon form that is 768 by 768 so I would like to easily import the tiles back into the program in that size. However it would be nice to manually edit each tile and put it back to the main image.

Currently I can copy and paste for my testing however in the long run this will take a lot of time, especially scrolling back over 200 images in the top bar.

I hope this helps otherwise I can provide more information.
Reply
#5
(11-20-2018, 06:30 AM)Alestry Wrote: The number of tiles is 256. Currently I have a 768 by 768 pixel picture divided into 48 by 48 pixel tiles.

The Guillotine that comes with Gimp will guillotine the image into 256 separate images.

An idea:
Instead of guillotining into 256 separate images, would it work if you guillotine into 256 layers in the same image. Then do your editing on the layers. All the layers stay in the correct position, so there is no need to reassemble. A New From Visible would work.

The script ofn-guillotine-layer is available from here:
https://sourceforge.net/projects/gimp-to...s/scripts/
Reply


Forum Jump: