VipulK Posted January 11 Posted January 11 (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. Affinity Photo 2 2025-01-11 10-58-12.mp4 Edited January 11 by VipulK Quote
carl123 Posted January 11 Posted January 11 Just prior to using the Inpainting Brush Tool, select the layer and do Layer > Rasterise & Trim Does it now work as expected? Quote 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.
NotMyFault Posted January 11 Posted January 11 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. Quote 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.
thomaso Posted January 12 Posted January 12 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. Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1
anto Posted January 12 Posted January 12 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. 2025-01-12 08-36-04.mp4 Quote
VipulK Posted January 12 Author Posted January 12 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. NotMyFault 1 Quote
Recommended Posts
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.