-
Posts
5 -
Joined
-
Last visited
Posts posted by drscheme
-
-
14 hours ago, John Rostron said:
I tried to follow this procedure (not the macro) on an image produced from the panorama merge. I found that I had to expand the selection of the transparent areas before it would work. It then worked well. It also said 'Delete' whilst it was executing the inpainting.
Do I understand correctly? You first took the shortcut by NOT selecting the opaque areas and inverting the selection but instead you only selected the transparent areas (which also in my eyes should be equivalent)? I tried exact the same thing and this didn't work for me either. I played around with expanding the selection to include more non-transparent area of the image as I thought the inpainting algorithm need more input data. With 250px added selection I get quite odd results: the inpainted area is quite smudgy:
However, it works better/fine when adding 1px to the selection.
I added two versions of my macro for reference: docs_edge_inpainting.afmacros
-
Cool. I didn't know AP has macros. Will try that. Thanks!
-
Thanks for your answers. I tried what you had suggested and this worked. However, I do not understand why this works. The image is already a raster image (JPEG) instead of a vector graphic... Odd.
One addendum: When you straighten the image in Lightroom and then edit it in Photo to get rid of the edges, the inpainting fill works like a charm. Here the rasterization step is not necessary.
-
I have a problem with Affinity Photo. I straightened the horizon line of an image. This of cause resulted in some white edges.I have watched a Tutorial of a guy on YouTube who used the Free Hand Selection Tool to mark (roughly) the area around the white spot, then he selected Edit -> Fill -> Impainting -> Apply and the white area was gone. I tried the same, but no effect. Can anybody tell me what is going wrong?



Impainting Fill
in Pre-V2 Archive of Affinity on Desktop Questions (macOS and Windows)
Posted
Yes. Does this make any difference?
Yes, I can confirm what you described. With one photo the 1px version produced much transparency. Interestingly that did not happen when I tested this macro with another picture. But you are right that the 250px version does odd things. Always. ^^
I like your theory. Sounds reasonable. When I have more time to play around with it I'll share results.