Remove Anything Automatically by Tricking the Content-Aware Fill in Photoshop



today we're gonna learn how to remove anything by tricking the content of air filth now what is the content of air fill well it's the automatic brother of the clone stamp tool now what does the clone stamp tool do it allows you to fill or remove replace certain areas by sampling some other areas and of course the sampling is manual you manually determine what to sample and using that sample you replace or fill certain areas well the content of air fill is automatic you just select the area that you want to replace or fill and then just play it and it does everything automatically and anytime there is something automatic in Photoshop it tends to sample from the wrong areas in this video we're gonna be talking about how to make Photoshop sample from the areas that you desire isn't that interesting it's very interesting so without any further ado let's get started so he'll be on Photoshop and if you want to download this photo make sure to go ahead and check the links in the description so first off make a copy of the background layer why because content-aware fill is destructive so to be super safe we need to make copy to make a copy ctrl or command J done now suppose you want to remove this chimney and this is distracting you so what to do select any selection tool I'll select the rectangular marquee tool and make a selection around it and simple press shift delete if you are using a Mac if you're using Windows it would be shift backspace okay so shift backspace or shift delete this opens up the fill dialog box and you can choose content aware and click OK or what you can do you can go to edit fill brings up the same dialog box choose content aware and make sure color and apt ation is checked mode normal 100% click OK this should do a pretty good job because this is an easy fix Wow it did a wonderful job if you zoom out you cannot tell now let's try on some other things let's try on these names ok so suppose you want to remove this so sorry to the author shift backspace shift delete if you're using a Mac and then click OK let's see what kind of a job it does it did brilliantly let's try it on this one and let's shift backspace and then click OK let's see wonderful job now let's try on this one I'm very doubtful about this shift backspace counted away click OK let's see now as you can see this did a pretty good job but at the same time it is sampling from the wood here we don't want that because it's similar color its sampling from here we don't want that to happen so how to make Photoshop sample from just these areas ok these areas it's very simple here's what you need to do just make a mask of just this area ok what is in the current layer and listen to this carefully what if in currently there is nothing to sample from except the cover of this particular book wouldn't that be interesting so here's what you need to do to remove this special case make another copy of it press ctrl or command J ok now in this layer you just wanted to sample from this particular area what if we had nothing else right that would force Photoshop to sample from just those areas so simply create a mask ok so we want Photoshop to sample from just this area so we would select that area and create a mask by clicking on this button now let's try it now let's come back to the layer C mask is selected that doesn't need to happen come back to the layer and then do the same thing shift backspace gone to the vet click OK now to sample from nowhere else but just that area you know why because that layer just has those areas if we make this layer solo this just has this area it has nowhere else to sample from so that's the trick now you can also try removing big stuff like let's come to this layer and let's try removing this mug let's see if that can do it shift backspace click ok let's see and obviously we need to make some changes some fixes here and there for this particular big removal ok it did a pretty good job you can go with it but the edges and the corners are something that you need to fix and you can fix this very easily by using the clone stamp tool right so simple just sample this area and just paint just line it up and paint or probably this is not straight what I would do I would select the rectangular marquee tool make a selection of this bring it on its own layer controller command J and then move it to this particular area and then rotate it a little bit move it a little up and then soften the edges with the eraser or mask it out select the mask take the brush foreground color black and you know the whole story of how to do it ok and then you can go ahead and adjust it so that it fits bring down and use the let's go back to this layer and select the clone stamp – and this is an easy fix just line it up a bit and there you go that solved and that's how you solve these problems now let me show you one other thing which is not a part of this tutorial but will be very important to you okay so slowly and gradually you can go and remove this this is simple now why did I remove the book name place let's bring back the mug because we love the mug we didn't want the mug to go back okay let's bring back the mug now let's try to be authors of these fad books wouldn't that be genius okay so let's zoom in quite a bit and let's select the text too okay and then just write your name I would write my name that looks good I would select the move tool and then press ctrl or command T and make it bigger by holding the shift to maintain the proportions okay that is good that looks intelligent now let's bring the text layer above every other layer and now let's adjust it the way we like now we might have to apply a lot of effects to it to make it look realistic right if we have a closer look let's zoom in see the book has a curvature we need to apply that curvature to this we need to apply some blend if to blend in with the books page so to apply all those effects let's first convert this into a smart object to do that right click on it and click on convert to smart object and here's the biggest misconception you might think that once we have converted this into a smart object we might not be able to change the text but here's the thing we can and that's the best thing about smart object let me show you so first of all let's apply some effects so we would right click on it and go to blending options and apply some blurring effects so take the slider of the underlying layer from right to left what we are actually doing is that we are removing the bright areas of the underlying layer from the current layer the layer which we have selected okay so as you can see the bright areas of the layer which is beneath it is being deleted from the current layer so this is too much let's make it smoother by holding the alt or option clicking on it and then dragging it a little apart now that looks a little realistic once he's satisfied click OK now as you can see this has a curvature we need to give this a little bump how to do that and here comes the magic all you need to do just double click on the smart object and this opens up another dialog box where you can go ahead change the text apply some effects do whatever you want and then save it and that will update there in the main document so for example we would go to filter distort and maybe shear okay this is this is saying convert to smart object rasterize cancel again convert to smart object no problem okay then we need to give it some curvature just like this not too much just a little bit of it and make sure repeat edge pixels is checked click OK now if wrap-around was checked here's what would happen okay let's go back let's learn it today okay so filter let's select this layer then filter distort and then shear okay convert to smart object in case you check wraparound and click OK see the edge there's a little bump where is the bump coming from well see this is going out and this is getting out from here and inserting from the back ok we don't want that and that's why we have to select what just double-click on the shear we have to select repeat edge pixels click OK now as you can see the right side is fine that looks fine but the left side it's kind of coming out so let's press C to open up the crop tool and let's just clear the crop because that kind of little s and then select the ratio the front image ok this selects the original ratio and then let's increase it a bit ok that looks good and once you're done just hit Enter or return ok done that looks nice and save it file save done let's close this and as you can see this will update this has developed that curvature right isn't that interesting now this opens up the crop tool because that was already selected let's select the move tool we don't want to crop it Wow now what if you want to change the text simple just let's double click on it again now this is also a smart object so we have to double click on it again and then you can change the text to whatever you like maybe you can just let's type my brand name fun let's save it file save done let's close it down file save done let's close it replaced we definitely will cover more magic the smart object has to offer in future videos I know we got a little sidetracked but that's how you can use the content aware fill to fill remove or replace certain areas automatically all you have to do just select that area and apply content-aware fill and if it's sampling from the wrong area then mask out the areas that you don't want it sample from pretty easy right hope this video helped you and if it did make sure to go to like and also don't forget to subscribe and not just subscribe bring the best that you my friend don't miss a thing I'll see you guys Mannix until then stay tuned and make sure that you keep creating

48 thoughts on “Remove Anything Automatically by Tricking the Content-Aware Fill in Photoshop

  1. ► Learn Photoshop with PiXimperfect Patreon Family!

    Receive exclusive PiXimperfect perks like access to all our 350+ PSDs and assets and Photoshop help from me and the entire PiXimperfect Patreon community! Check it out here:
    https://pix.live/patreon (Don't forget to collect your freebies just for checking it out).

  2. The first time I really enjoy watching tutorial videos.

    Dude the way you speak,fast but understandable, (even for non native speakers), gestures and of course your skills are awesome.

    Thanks for that. You are doing a great job and I‘m happy that I found your channel.
    Only in one day I learned more about selections and shortcuts then in the last years haha

    Cheers
    Your new fanboy 😄

  3. Everytime I'm mad about how you replace the "V" sound for "W" I remember how great your content is and I'm able to ignore it

  4. Thank you, this is by far the best tutorial that ive seen. I know nothing of PS and I don't plan on learning PS, I only use PS when needed and watch YT tutorials and forget it when I'm done with my work (I'm that guy). Good Job, everything now is easy because you said it step by step (Which is how the way I like it). Anyway, I took a couple of minutes to write this comment because it actually helped me. Thank you again.

  5. Hey Hii..Unmesh..all tutorials are much more helpfull to..so i suggested to more peoples..but some of them asking for tutorial in Hindi..can u find out any way..to solve their issue..

  6. There's a more simple way to do this, does the exact same thing! Goto the Edit and just two under the "Fill", you can see "Content-Aware Fill" — Click on it,a nd it will pop up a window just like select and mask where you gotta mask the things you want to use a sample from.

  7. Seriously good tutorial. Finally a host who respects my time and intelligence enough to get right into the editing.

Leave a Reply

Your email address will not be published. Required fields are marked *