• Announcements

    • Patrick Connor

      Forum Upgrade   07/12/2017

      Welcome to the upgraded Affinity Forums. This change will allow us to add more features and block spam better. If you have any problems using these forums as a result of the upgrade, please post in the the similarly named News forum thread.
DonS

Inpainting Tool

41 posts in this topic

Below is the link to a video using the inpainting tool where the picture canvas size increase and then you take part of the picture and draw on the transparent part and the steps were to Edit>Fill>inpainting>apply which will fill transparent with the part that you included in the selection matching the color overlapping to fill in the transparent area.  I have tried numerous times to follow the video and when I follow them the transparent area does not fill in.  It would be so nice if I could

learn the correct way to do this but every time I try the transparent area does not pick up the selected part of the original picture to extend into the transparent layer.  I am working on the original layer and cannot see why this is not working?  By the way I increase the canvas size equally all the way around the picture and then tried using the inpainting tool to fill in the transparent part.

 

 

https://www.youtube.com/watch?v=JyfZHa8E0Xg

 

Don S

 

 

Share this post


Link to post
Share on other sites

Welcome to the Serif Affinity Forums, Don. :)

 

The Inpainting Brush Tool will only work on a pixel layer. If it says '(Image)' against the selected layer in the Layers panel, you need to right-click it and choose 'Rasterize...' to change the displayed layer type to '(Pixel)'.


Alfred online2long.gif
Affinity Designer (1.5.3.69, beta 1.6.0.75)Affinity Photo (1.5.2.69, beta 1.6.0.75) • APh for iPad 1.6.3 (but no iPad  yet!)

Windows 10 Home4th gen Core i3 CPU

Share this post


Link to post
Share on other sites

Please forgive me for being such a pest but I would like for the inpainting tool to work.  Here are the steps when I open up a picture—

1.     Open up picture in layers panel it says BACKGROUND (PIXEL) SHOWING LOCKED

2.    Document>resize Canvas>making transparent all the way around with about 1 inch border

3.    Go to Edit>Rectangle and make a selection covering all the transparent & part of the sky to transfer into the transparent

4.    Go to Edit>Inpaint (use to get popup box but is not showing; however it use to show every time) (How can I get it back to popup)

5.    Progressive bar goes across and nothing happen in the transparent area and tried to  do it again with same results.

6.    Even started over and tried rasterizing the pixel layer; the popup does not come up anymore showing selections of inpainting, History

7.    And several other I cannot see now?  I don’t know why it does not popup when you click on the inpainting tool?

Also once on the popup in inpainting I click on the History and it worked but tried it later and it did not work

Share this post


Link to post
Share on other sites

@DonS

 

After step 2 (resize canvas) then rasterise the layer and it should work for you from then onwards

 

 

PS To get the popup box in step 4 use Edit > Fill and select the inpainting option there


Due to the impending Brexit negotiations, punctuation, spelling and grammar will be used sparingly until further notice.

Share this post


Link to post
Share on other sites

I have tried several times as suggested to Resize canvas, then rasterise the layer (still just one layer) and then proceed with

rectangle including part of picture and rest transparent then applying and nothing appears in the transparent part.  I tried all sides trying

to get it work and when applying History instead of inpainitng it works only a couple of times to fill in the transparent  part matching the

other selected part of the picture.

 

I have tried even adding a pixel layer and working on it with no results.

 

Thanks for your replies and will keep on trying....don't know what else to do.

Don S

Share this post


Link to post
Share on other sites

There are two kinds of inpainting. One is a command and the other is a tool.

 

The inpainting command accessed via the Edit menu will only work if you have made a selection on a pixel layer. It will use information from the surrounding area to fill the selected area automatically.

 

The Inpainting Brush Tool paints the area under the cursor, again working only on a pixel layer and using information from the surrounding area. If you've added a new pixel layer above the layer containing the image, you need to check the option 'Current layer and below' on the Context toolbar.


Alfred online2long.gif
Affinity Designer (1.5.3.69, beta 1.6.0.75)Affinity Photo (1.5.2.69, beta 1.6.0.75) • APh for iPad 1.6.3 (but no iPad  yet!)

Windows 10 Home4th gen Core i3 CPU

Share this post


Link to post
Share on other sites

......

 

Thanks for your replies and will keep on trying....don't know what else to do.

Don S

 

Upload a video of what you are doing.

 

It works fine for me as long as I rasterise the layer after resizing the canvas, otherwise it does not work and I get what you have described.

 

PS are you on Windows or Mac ( I am testing on Windows 8.0 )


Due to the impending Brexit negotiations, punctuation, spelling and grammar will be used sparingly until further notice.

Share this post


Link to post
Share on other sites

Will it be possible to know when they repair the inpainting tool as it consistanly does not work with all the suggestion I have tried.  I sent a 6 or 7 page screen shop doing each step and the results are as shown in the screenshots.  Sometime instead of using the inpainting tool on the fill I used Hostory and it work once or twice like the inpainting tool.  Hopefully the screenshots I sent in will be replied with the steps to correct the issue.

DonS

Share this post


Link to post
Share on other sites

With the exception of needing to rasterize the layer, there is nothing to repair. You just have to make sure you have selected an appropriate area to use the Edit menu > Inpaint command or the Edit > Fill > Inpainting one.

 

Try this:

1. Resize the canvas as in your step 2 above.

2. Select the pixel image layer & rasterize it as carl123 suggested.

3. Do not add a rectangle. Instead, CMD click (Mac) or Control click (Windows?) on the thumbnail of the pixel layer in the Layers panel. (This will select all the pixels in the layer but not the transparent border.)

4. From the Select menu choose "Invert Pixel Selection." (Only the transparent border should be selected.)

5. Now try either the Edit menu > Inpaint command or the Edit > Fill > Inpainting one.

 

There are several variations of this method that will work, but the important part is to select the area you want to be inpainted before using either of these two Edit menu commands. You do not need to add any other layers, but you must make sure the pixel layer is selected for these commands to do anything.


Affinity Photo 1.5.2; Affinity Designer 1.5.5; AP for iPad 1.6.2 (but no supported iPad -- yet!)

macOS Sierra 10.12.6; iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM 

Share this post


Link to post
Share on other sites

Hi, after step 2 don't you have to create a new raster layer (which will be the size of the canvas, I usually fill this with white so I can see it) merge with the existing background layer, then paint on it ?

If not I'd have thought youl'd be trying to paint on the canvas not a layer

 

appologies if I'm misunderstanding.

Share this post


Link to post
Share on other sites

Hi, after step 2 don't you have to create a new raster layer (which will be the size of the canvas, I usually fill this with white so I can see it) merge with the existing background layer, then paint on it ?

If not I'd have thought youl'd be trying to paint on the canvas not a layer

All I can say for sure is on the Mac version it is not necessary to create a new layer. The inpainting is applied to the pixel layer, which is as big as the canvas even though after resizing (& rasterizing) it, it has transparent sections. A selection is necessary to restrict the inpainting to less than the entire layer -- otherwise nothing will happen.

 

That said, inpainting does not work very well if the selected area is too large. Like with the Inpainting Brush tool, all it can do is sample from nearby areas, so it is asking a lot if it is trying to fill very large areas with anything resembling the sampled area.


Affinity Photo 1.5.2; Affinity Designer 1.5.5; AP for iPad 1.6.2 (but no supported iPad -- yet!)

macOS Sierra 10.12.6; iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM 

Share this post


Link to post
Share on other sites

Hi R C-R, interesting I'll need to try this when I get home. I'm sure any existing layers don't automatically expand in the AP win ver but there is plenty of room for me to be talking rubbish here or I've been doing something wrong!! 

 

Regards

Share this post


Link to post
Share on other sites

It may be that the rasterize step is necessary for the pixel layer to expand to the canvas size ... or maybe I am the one talking rubbish.


Affinity Photo 1.5.2; Affinity Designer 1.5.5; AP for iPad 1.6.2 (but no supported iPad -- yet!)

macOS Sierra 10.12.6; iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM 

Share this post


Link to post
Share on other sites

Below is the link to a video using the inpainting tool where the picture canvas size increase and then you take part of the picture and draw on the transparent part and the steps were to Edit>Fill>inpainting>apply which will fill transparent with the part that you included in the selection matching the color overlapping to fill in the transparent area.  I have tried numerous times to follow the video and when I follow them the transparent area does not fill in.  It would be so nice if I could

learn the correct way to do this but every time I try the transparent area does not pick up the selected part of the original picture to extend into the transparent layer.  I am working on the original layer and cannot see why this is not working?  By the way I increase the canvas size equally all the way around the picture and then tried using the inpainting tool to fill in the transparent part.

 

 

https://www.youtube.com/watch?v=JyfZHa8E0Xg

 

Don S

works as expected on my end

 

just select the area

select the layer

select edit fill inpaint

done

Share this post


Link to post
Share on other sites

My success with inpainting depends greatly on how large an area I try to apply it to. Small areas usually work very well, but the larger an area I start with, the less usable the results become.


Affinity Photo 1.5.2; Affinity Designer 1.5.5; AP for iPad 1.6.2 (but no supported iPad -- yet!)

macOS Sierra 10.12.6; iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM 

Share this post


Link to post
Share on other sites

works as expected on my end

 

just select the area

select the layer

select edit fill inpaint

done

 

Not really on my MacBook! Then before I can click "done" (means "Apply") I see already this artwork on the border:

 

post-45179-0-36669800-1490369569_thumb.png

 

After "Apply" also.

 

 

(I think it's time for me to create a signature!


••• MacBook Pro | El Captain 10.11.6 |

••• Affinity Photo | 1.5.2 |

••• English | 0.0.2 (Beta) | I'm sorry!

Share this post


Link to post
Share on other sites

I think so!


••• MacBook Pro | El Captain 10.11.6 |

••• Affinity Photo | 1.5.2 |

••• English | 0.0.2 (Beta) | I'm sorry!

Share this post


Link to post
Share on other sites

A few minutes later:

No! I don't!

In the youtube-clip can be seen a MacOS user interface! :huh:


••• MacBook Pro | El Captain 10.11.6 |

••• Affinity Photo | 1.5.2 |

••• English | 0.0.2 (Beta) | I'm sorry!

Share this post


Link to post
Share on other sites

It works on Windows here but I have to add the extra step of rasterising the layer after the canvas is resized


Due to the impending Brexit negotiations, punctuation, spelling and grammar will be used sparingly until further notice.

Share this post


Link to post
Share on other sites

With the exception of needing to rasterize the layer, there is nothing to repair. You just have to make sure you have selected an appropriate area to use the Edit menu > Inpaint command or the Edit > Fill > Inpainting one.

 

Try this:

1. Resize the canvas as in your step 2 above.

2. Select the pixel image layer & rasterize it as carl123 suggested.

3. Do not add a rectangle. Instead, CMD click (Mac) or Control click (Windows?) on the thumbnail of the pixel layer in the Layers panel. (This will select all the pixels in the layer but not the transparent border.)

4. From the Select menu choose "Invert Pixel Selection." (Only the transparent border should be selected.)

5. Now try either the Edit menu > Inpaint command or the Edit > Fill > Inpainting one.

 

There are several variations of this method that will work, but the important part is to select the area you want to be inpainted before using either of these two Edit menu commands. You do not need to add any other layers, but you must make sure the pixel layer is selected for these commands to do anything.

Thanks for the reply.  I am new to affinity and the first thing is when I open all of my images they are jpg & I work from that single image?  I even tried adding a pixel layer.

I followed thru step 4 without any problem.  However once pixels were inverted, I could not use rectangle or other choices to select an area without it disappearing the inverted selected area.  I tried this before selecting inpaint and missing the boat from their.  One coment was to make a rasterize layer (I assumed this is the same layer you started out with and I choose Layers>Rasterize on the original layer.

Hope this is right.  I am using Windows 10.  Members have been so nice to help me try to solve this situation.  Don S

Share this post


Link to post
Share on other sites

Hi, after step 2 don't you have to create a new raster layer (which will be the size of the canvas, I usually fill this with white so I can see it) merge with the existing background layer, then paint on it ?

If not I'd have thought youl'd be trying to paint on the canvas not a layer

 

appologies if I'm misunderstanding.

I am not following you usually fill this with white so you can see it.  On the original layer do you to to Edit>Fill>White??? At that point

the image is completely covered up with white.  When I went to Edge>Merge Visible, still cannot see picture so I tried Edit>Merge Down

and see picture.  Then I went to rectangle and outline a small rectangle around the transparent and picture.  Then Edit>Fill>inpainting>Applied and nothing happen....just cannot find the right way to do it.  Maybe by comment you can figure where

I am going wrong.

DonS

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