Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to fill middle of image by drag/zoom rest of image
#1
Wink 
I have an image and I cut out the middle and want to fill the transparent middle part by dragging in the remaining image from the edges of the cut out part.

Any ideas?


Attached Files Thumbnail(s)
   
Reply
#2
There is a set of plugins that might do what you require. Resynthesizer (compiled plugin) + 'heal' python plugins

Then it depends on your version of linux and does Gimp come with python enabled ?

Before going any further, check this https://i.imgur.com/s8Wy6AV.mp4 3 different settings used. Do any get near to your requirement ?
Reply
#3
Thanks. The Imgur you posted doesn't exactly get what I'm after but it's pretty close that I could use it. Here's the original image before cutting out the middle. Maybe that might change things.


Attached Files Thumbnail(s)
   
Reply
#4
It does not really make any difference if the center is solid or transparent. Sorry, I cannot think of any quick way. I tried stroking a spiral path with a pattern brush without success. Warp tool no good either.

This is tedious but does not take long. Make an annular selection, copy and paste as a new layer. https://i.imgur.com/ohijWCr.jpg

Successive duplicate layer and scale to fit. Once you get a few done a new from visible then the duplicate layer, scale works a bit faster. Basically a pyramid of rings. https://i.imgur.com/XShnz9R.jpg
Reply
#5
Two ways:

  1. "Pinch" part of Filters > Distorts > Whirl and pinch but the pinch isn't completely along radial lines
  2. Filters > Distorts > Polar coordinates
    • Apply once to unroll (To polar: off)
    • Scale the layer to cover the white part
    • Apply again to re-roll (To polar: on`)
   
Reply
#6
Take your first image (the one with a hole in the middle
Then Filters ➤ Map ➤ Recursive Transform...
First thing first check Paste below, then move the squared handle as in the screenshot below, adjust iterations to closed the hole once you have moved the 4 squared handles as you need

   
Reply
#7
(05-15-2022, 04:05 PM)Ofnuts Wrote: Two ways:

  1. "Pinch" part of Filters > Distorts > Whirl and pinch but the pinch isn't completely along radial lines
  2. Filters > Distorts > Polar coordinates
    • Apply once to unroll (To polar: off)
    • Scale the layer to cover the white part
    • Apply again to re-roll (To polar: on`)

Thanks. This is a great solution. I had trouble implementing it though.

When I un-check To polar box it only maps the top of the image. Was To Polar meant to be on or is there another setting I am supposed to change?
Reply
#8
(05-16-2022, 07:07 PM)chuckd833 Wrote:
(05-15-2022, 04:05 PM)Ofnuts Wrote: Two ways:

  1. "Pinch" part of Filters > Distorts > Whirl and pinch but the pinch isn't completely along radial lines
  2. Filters > Distorts > Polar coordinates
    • Apply once to unroll (To polar: off)
    • Scale the layer to cover the white part
    • Apply again to re-roll (To polar: on`)

Thanks. This is a great solution. I had trouble implementing it though.

When I un-check To polar box it only maps the top of the image. Was To Polar meant to be on or is there another setting I am supposed to change?

What I get:

   

What do you see? Any selection active?
Reply
#9
(05-16-2022, 08:29 PM)Ofnuts Wrote:
(05-16-2022, 07:07 PM)chuckd833 Wrote:
(05-15-2022, 04:05 PM)Ofnuts Wrote: Two ways:

  1. "Pinch" part of Filters > Distorts > Whirl and pinch but the pinch isn't completely along radial lines
  2. Filters > Distorts > Polar coordinates
    • Apply once to unroll (To polar: off)
    • Scale the layer to cover the white part
    • Apply again to re-roll (To polar: on`)

Thanks. This is a great solution. I had trouble implementing it though.

When I un-check To polar box it only maps the top of the image. Was To Polar meant to be on or is there another setting I am supposed to change?

What I get:



What do you see? Any selection active?

Yep. That's exactly what I got. Thanks for posting. When I resize it only resizes that section - being the top section

Then when I run the polar coord. the 2nd time it doesn't look like yours
Reply
#10
yet another way (could be the simplest) is to use a displace map. More or less like whirl pinch but with more control:

   

Playing with the "shape" of the gradient (using Levels/Curves) on the map layer allows you to fine-tune the pinch behavior.
Reply


Forum Jump: