Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating/managing layers GIMP 2.8.2
#1
I have to edit a scanned photo where the scanner has offset the image a few pixels in 12 horizontal slices. The photo is no longer available to be re-scanned.

I want to divide the image into 12 slices, place each slice on its own layer, shift each slice until they are aligned, then flatten the layers to create a corrected image. 

I thought Layers would help me but can't figure out any way to do it. 
Please can someone suggest a method, with very simple instructions for a complete newby to GIMP Huh .

Thx, fizzazz
Reply
#2
Hi
There are two ways I could suggest, both should be very easy to do. Either:

- Create blank layers(layer-new layer). Then cut and paste each section from the original image layer. So I'd use a rectangle selection tool (don't worry if your rectangle is wider than the image as it will only select the bit in the image), then cut from the image, move to the new layer then paste. Anchor the floating selection (move cursor outside your selection and you should see an anchor appear, click to anchor). Then repeat for each section on a new layer.
- Or, use layer via copy/cut plugin (see here http://gimpchat.com/viewtopic.php?f=9&t=4424#p54849)

Now you have your layers, you can select each one in turn and move them by a pixel or two, using move tool. Finally, right-click on a layer and select 'flatten image' (or 'merge visible layers' would also work if all are visible).

Hope this helps, let me know if this works or if you have problems. Note that you may want to do a crop of the final image, moving layers around will obviously leave a blank couple of pixels on the edges.
Reply
#3
I fall back on an old plugin guillotine-into-layers The attached is 32 bit so should work with any Windows installation.

Unzip and pop in your Gimp profile plugins folder C:\Users\"yourname"\.gimp-2.8\plug-ins  Find it in Image -> Transform -> Guillotine into Layers

Other than that everything is standard Gimp. Reassembled using the Gimp align tool.
see: https://docs.gimp.org/en/gimp-tool-align.html

Not easy for a beginner, so a short demo, 4 minutes, using a made-up image.





direct link https://youtu.be/9Zu2EAHBTWk

Bits of it might help.


Attached Files
.zip   guillotine_into_layers.exe.zip (Size: 4.35 KB / Downloads: 160)
Reply
#4
Mostly same function: ofn-guillotine-layer.
Reply
#5
(06-26-2018, 05:11 PM)rich2005 Wrote: I fall back on an old plugin guillotine-into-layers The attached is 32 bit so should work with any Windows installation.

Unzip and pop in your Gimp profile plugins folder C:\Users\"yourname"\.gimp-2.8\plug-ins  Find it in Image -> Transform -> Guillotine into Layers

Other than that everything is standard Gimp. Reassembled using the Gimp align tool.
see: https://docs.gimp.org/en/gimp-tool-align.html

Not easy for a beginner, so a short demo, 4 minutes, using a made-up image.





direct link https://youtu.be/9Zu2EAHBTWk

Bits of it might help.
Awesome! Will try this later today. I get to learn multiple tools without reading the manual. Thank you!
Reply


Forum Jump: