Jump to content

Recommended Posts

Posted (edited)

Hi. I'm new to Affinity and having trouble with the inpainting tool. I need to extend the width of an image which I used to do with content aware fill in Photoshop. AFAIK the inpainting tool is the analogue of that tool in affinity. It works on the right side of the image but doesn't do anything on the left side. This is not specific to this particular image. It behaves the same way with all images.

If there's a better tool to do this, please do let me know.

Edit: Not sure why but the cursor is not displayed in the right position in the recording. Its south east of where it was actually.

Edited by VipulK
Posted

Just prior to using the Inpainting Brush Tool, select the layer and do Layer > Rasterise & Trim

Does it now work as expected?

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted

The inpainting tool is sometimes tricky when working with transparency. It may not pick enough color information from the neighboring opaque area. So you may need to enlarge the overlap.

 in this case of a rectangular area, I would avoid the inpainting brush. Instead, use the rectangular selection tool and draw a rectangle which overlaps about 4-8 pixels to the colored area. The use the inpainting function from the menu. Alternatively brush over the selected area and carefully ensure that every pixel is included, e.g. using a 100% hard brush and using multiple strokes (without lifting the brush).

another better way is to use the colum selection brush and select one to 4 pixel wide area. Then add a pattern layer, and move it behind the background layer. This extends the transparent area with suitable colors. You need to merge visible, then start inpainting (if required) to fine tune.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

With backgrounds like this you could alternatively use a masked copy of the image and stretch it horizontally. The wider the selected area, the less stretching is required.

Bildschirmfoto2025-01-12um02_53_07.thumb.jpg.1b97748bd53dee9ee6094dfc31b63fd5.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted
On 1/11/2025 at 7:36 AM, VipulK said:

Hi. I'm new to Affinity and having trouble with the inpainting tool. I need to extend the width of an image which I used to do with content aware fill in Photoshop. AFAIK the inpainting tool is the analogue of that tool in affinity. It works on the right side of the image but doesn't do anything on the left side. This is not specific to this particular image. It behaves the same way with all images.

I think this is a bug.

If you have a complex image, you can use a Сlone Brush Tool.

 

 

Posted

Thanks everyone for the advice.

@NotMyFault I think this tool does have a bug. Whatever area I overlap with the inpainting tool also becomes transparent. The rectangle selection and Edit > Inpaint worked perfectly though and this is now my preferred method of accomplishing this task. Thanks mate.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.