Reisender Posted October 8, 2017 Share Posted October 8, 2017 Hello everyone! I've been trying to recreate the technique seen in the video, without success. The idea is to expand the canvas, then use edit > fill > inpaint to create an intelligent expansion of the background. Here's what happens when I try it. I expand the canvas (screenshot 1), select the empty area, go to edit > fill, select inpaint, and... get a semi-transparent blur (screenshot 2). The inpainting brush tool is a little better, but not by much. I think the problem is that the software is sampling from the transparent expansion as well. Can anyone help me out? Quote Link to comment Share on other sites More sharing options...
carl123 Posted October 8, 2017 Share Posted October 8, 2017 After you extend the canvas, right click the Layer (in the Layers panel) and select Rasterise, then try the Inpainting again Reisender 1 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. Link to comment Share on other sites More sharing options...
R C-R Posted October 8, 2017 Share Posted October 8, 2017 1 hour ago, carl123 said: After you extend the canvas, right click the Layer (in the Layers panel) and select Rasterise, then try the Inpainting again At least for me, this works without the rasterize step, but only if the canvas has been extended only vertically below the image (as in the video) or if it has been extended only to the right. IOW, if I set the resize canvas anchor point to the top center one & change only the canvas height, or set the anchor point to the left middle one & change only the canvas width, then Edit > Inpaint or Edit > Fill > Inpaint fills the empty area without the transparent fade or the need for the rasterize step. Enlarging the canvas in any other way requires the rasterize step to avoid the transparent fade. If anybody else can confirm this, I think it means there is a bug in the Edit menu inpainting function. Rick G and Reisender 2 Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Reisender Posted October 8, 2017 Author Share Posted October 8, 2017 1 hour ago, carl123 said: After you extend the canvas, right click the Layer (in the Layers panel) and select Rasterise, then try the Inpainting again Works like a charm! Thank you! There was still a visible border where the original canvas ended, but I managed to work around that with a feathered selection. I'll probably blur out the background anyway, so it won't be noticeable. Now, can anyone explain to me why I have to rasterize the layer? Quote Link to comment Share on other sites More sharing options...
toltec Posted October 8, 2017 Share Posted October 8, 2017 55 minutes ago, Reisender said: Now, can anyone explain to me why I have to rasterize the layer? Rasterise is a go-to word it Affinity, like "thing" or "wotsit". Rasterise technically means create raster (or bitmap/pixel) data from vector data. In Photo it also means "allow editing of embedded image documents" or in this case "remove data outside the layer" such as transparency. I think a couple more uses too, but can't think at the moment. It comes under the "I don't know what else to call it" section of the programmers manual Reisender and Rick G 2 Quote Windows PCs. Photo and Designer, latest non-beta versions. Link to comment Share on other sites More sharing options...
carl123 Posted October 8, 2017 Share Posted October 8, 2017 1 hour ago, Reisender said: .... Now, can anyone explain to me why I have to rasterize the layer? When you extend the canvas you create an area outside the rest of the image's normal time and space dimensions. This new area appears void but is actually made up of what we now know to be called "Affinity Pixels". These "Affinity Pixels" do not work well with normal pixels or react to the same cosmic forces that normal pixels react to when using things like inpainting. You will find that these (rather annoying) "Affinity pixels" also show up when using the crop tool to extend the space around your image. Rasterization is the process of gamma eradiating these "Affinity Pixels" so that they revert back to being normal image pixels and thus perform as you would expect when manipulating your image. Unfortunately these "Affinity Pixels" crop up quite a bit when using Affinity Photo, so if you encounter any strange and unexpected results in your use of the program then Raterizing the layer can usually rectify any time and space discrepancies between your pixels and then the program will function as expected. Alfred and Reisender 2 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. Link to comment Share on other sites More sharing options...
R C-R Posted October 8, 2017 Share Posted October 8, 2017 56 minutes ago, Reisender said: Now, can anyone explain to me why I have to rasterize the layer? As I mentioned in my reply above, I think this is probably due to a bug. I have two reasons for this: 1. As I understand it, inpainting algorithms generally sample the structure and/or texture of the surrounding area to determine how to fill in the selection. IOW, it is a process of replacement, & should do no blending other than that needed to continue the structure of those areas into the selection. Thus, it should not matter if the pixels in the selection are transparent. 2. As in the video, rasterization is not required if the canvas is expanded only downward, or (at least in my tests) only to the right. If this is not a bug & it was intended that rasterization was always required, then it should be consistent regardless of how the canvas is expanded. Alfred 1 Quote All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 Affinity Photo 1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
Reisender Posted October 8, 2017 Author Share Posted October 8, 2017 3 hours ago, R C-R said: If anybody else can confirm this, I think it means there is a bug in the Edit menu inpainting function. I just tested it with my original, unrasterised file. Expanded the canvas to the bottom, and the fill function worked. Quote Link to comment Share on other sites More sharing options...
toltec Posted October 8, 2017 Share Posted October 8, 2017 3 hours ago, carl123 said: Unfortunately these "Affinity Pixels" crop up quite a bit when using Affinity Photo, so if you encounter any strange and unexpected results in your use of the program then Raterizing the layer can usually rectify any time and space discrepancies between your pixels and then the program will function as expected. A bit like using a "Death star", but without the global warming issues Alfred 1 Quote Windows PCs. Photo and Designer, latest non-beta versions. Link to comment Share on other sites More sharing options...
Rick G Posted November 5, 2017 Share Posted November 5, 2017 This is apparently broken in v1.6 I have used it before but I can no longer add a picture and have it fill to the left. It does nothing Quote Affinity Designer 2.2.2075 & beta 2.3.1.2212 Affinity Photo 2.2.2075 beta 2.3.1.2212Affinity Publisher 2.2.2075 & beta 2.3.1.2212 Windows 11 Pro Version 22H2 OS build 22621.1928 Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Link to comment Share on other sites More sharing options...
toltec Posted November 5, 2017 Share Posted November 5, 2017 Works for me Windows 1.6 I expanded the canvas, rasterised the layer, selected the transparent area, then went Edit > Inpaint. The force is with me. Quote Windows PCs. Photo and Designer, latest non-beta versions. Link to comment Share on other sites More sharing options...
Rick G Posted November 5, 2017 Share Posted November 5, 2017 2 hours ago, toltec said: Works for me Windows 1.6 I expanded the canvas, rasterised the layer, selected the transparent area, then went Edit > Inpaint. The force is with me. Well that is different. I an trying to make the fill tool work I load a picture, expand the canvas keeping the picture to the right. invoke the fill command with inpainting selected and nothing ...yes, I rasterized the layer Edit / Inpaint stays grayed out no matter what I do Any ideas? Hand holding is welcome Quote Affinity Designer 2.2.2075 & beta 2.3.1.2212 Affinity Photo 2.2.2075 beta 2.3.1.2212Affinity Publisher 2.2.2075 & beta 2.3.1.2212 Windows 11 Pro Version 22H2 OS build 22621.1928 Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Link to comment Share on other sites More sharing options...
toltec Posted November 5, 2017 Share Posted November 5, 2017 14 minutes ago, Rick G said: Well that is different. I an trying to make the fill tool work I load a picture, expand the canvas keeping the picture to the right. invoke the fill command with inpainting selected and nothing ...yes, I rasterized the layer Edit / Inpaint stays grayed out no matter what I do Any ideas? Hand holding is welcome What do you mean by "fill tool"? There is no tool. Just select the transparent area and use the menu, Edit > Inpaint. Did you select the transparent area before trying to impaint ? I used the Magic Wand but there are other methods. Inpaint will be greyed out if you don't select the area. Rick G 1 Quote Windows PCs. Photo and Designer, latest non-beta versions. Link to comment Share on other sites More sharing options...
lepr Posted November 5, 2017 Share Posted November 5, 2017 . Rick G 1 Quote Link to comment Share on other sites More sharing options...
Rick G Posted November 5, 2017 Share Posted November 5, 2017 28 minutes ago, toltec said: What do you mean by "fill tool"? There is no tool. Just select the transparent area and use the menu, Edit > Inpaint. Did you select the transparent area before trying to impaint ? I used the Magic Wand but there are other methods. Inpaint will be greyed out if you don't select the area. Ohhhhhhh Kay it was between the chair and the keyboard. I had not selected the transparent area firs (including a few px of the picture itself) THEN ... [drum roll] ... if you don't rasterize it fades to the left and if you DO. you get a solid fill Edit Inpaint seems to do what Edit FILL does. pleas correct me if there is a subtle difference or why one might use one over the ather Anyway - thanks for the help! You are appreciated. A copy of the edit menu with "Fill" is bnelow. I had nothing loaded so it is all grayed out Quote Affinity Designer 2.2.2075 & beta 2.3.1.2212 Affinity Photo 2.2.2075 beta 2.3.1.2212Affinity Publisher 2.2.2075 & beta 2.3.1.2212 Windows 11 Pro Version 22H2 OS build 22621.1928 Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Link to comment Share on other sites More sharing options...
toltec Posted November 5, 2017 Share Posted November 5, 2017 16 minutes ago, Rick G said: Edit Inpaint seems to do what Edit FILL does. Edit > Fill gives you a choice of a Solid fill or Inpainting Edit > Inpaint save one or two menu clicks. Alt + Backspace is the shortcut The result is the same, either way. Quote Windows PCs. Photo and Designer, latest non-beta versions. Link to comment Share on other sites More sharing options...
Rick G Posted November 5, 2017 Share Posted November 5, 2017 Just now, toltec said: Edit > Fill gives you a choice of a Solid fill or Inpainting Edit > Inpaint save one or two menu clicks. Alt + Backspace is the shortcut The result is the same, either way. Yep! Thanks again friend! Quote Affinity Designer 2.2.2075 & beta 2.3.1.2212 Affinity Photo 2.2.2075 beta 2.3.1.2212Affinity Publisher 2.2.2075 & beta 2.3.1.2212 Windows 11 Pro Version 22H2 OS build 22621.1928 Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Link to comment Share on other sites More sharing options...
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.