Skip to main content
Mau7rice
Known Participant
May 12, 2017
Answered

How to Content-Aware Fill Multiple layers

  • May 12, 2017
  • 7 replies
  • 9902 views

I have an animated gif with something in it I want to remove. I thought I could select all layers(100) and do a Edit > Fill but I cant seem to with the multiple layers selected. In this case where the thing I'm trying to remove is in the same spot in all 100 of those pics what's the best and quickest way to do the Fill on all layers at once ?

This topic has been closed for replies.
Correct answer JJMack

If you want to fill the area with the same content in that area you can do as Trevor has written.  Before you add the new layer  use the frame animation timeline fly-our menu and check new layer appear in all frames.  That way you do not need to manually change every frame in the timeline to make the layer visible in the frame's  composite image.

7 replies

New Participant
December 2, 2020

Here's how I approached. Hope this is what you meant, and for all those who have searched for same problem.

One premise here is that the content-aware fill selection is all same in all layer/pngs.

 

1. Export all layers into individual png files into somewhere.

2. Select the area you want to content-aware fill.

3. Right click on selection and save the selection as new channel.

4. Now load new file with any png file you exported in step 1.

5. Go to actions window and start recording new action. Record these operations below.

 op 1 : Load selection you saved in step3.

 op 2 : Do content-aware fill.

6. Stop recording and batch apply this action to all those png files

 

There could be better way of doing this.

Please let me know if anyone came up with better idea.

 

New Participant
December 2, 2020

Example - Removing undisired text from gif, with batch content-aware-fill

 

 

 Before edit. We have this adorable Husk gif but there's something dirty instagram thing down there...

 


 

 

Now we are gonna delete those baka mitais for all frames. Save selection! Batch loading the selection and content-fill!

 

 

 

 

Now the text is gone! All left is our cute Husky ! Aww~

 

 

Example used here is recorded directly from one of Husk official instagram(bar_cat75) story.

vincenzol17277194
New Participant
April 28, 2019

My Adobe after effect is not showing on window screen

The Content aware Fill? Not seeing in my window it’s showing every other besides that one. My computer is a Mac. Software is 0SX EL Captain version 10.11.6. I checked on Adobe updates it says they’re all updated including after affects..VinnyVenom@gmail.com

New Participant
December 2, 2020

This is photoshop forum.. not AE. Please make sure to ask only photoshop questions here.

Inspiring
August 4, 2018

Thanks. I have tried to follow the directions above, yet cannot get it to work. I am using Adobe Photoshop CC 2018 version 19.1.1 on macOS 10.12.6 (16G1510) Sierra and do not know much about how to use the application. Could someone please elaborate on the specific steps to accomplish that (content-aware removal of specific area in animated ".gif")? Many thanks in advance.

JJMack
Braniac
August 4, 2018

You would need to content aware fix each layer that effetely make up that area in frames in the frame animation. then save out a new animated gif. You may need to modify more than one layer or  just add and additional layer that will be visible  on top of the  the frames that show the area in the animation by adding  that layer to the frames in the animation that display the area.  The animation frames are created in the timeline frame animation panel.

JJMack
Inspiring
August 4, 2018

Thanks, albeit I do not quite understand. As said, I do not know much about Photoshop. This is what I do:

1. Open animated gif file with Photoshop.

2. Select "Window - Tools" to show them.

3. Select "Window - Timeline" to show it.

I get the message "Pixel aspect ratio correction is for preview purposes only. Turn it off for maximum image quality".

4. Use the zoom tool (magnifier) to increase image size.

5. Select the first frame on left-bottom timeline, select desired area of gif file (on one corner of it, showing some text) with lasso tool and "Edit - Fill - Contents - Content-Aware - OK". That works as expected and removes desired area of gif file, replacing it as content-aware.

Yet, I want to do it with all 160 frames of the animated gif file at once (the area is the same for all frames), not having to do it manually on a one-by-one frame basis. Is that possible? How?

Please, note that I do not know much about Photoshop. For instance, I do not know how to create or work with layers, etc. Sorry about my ignorance on this. Thanks for your help.

JJMack
Braniac
May 13, 2017

Yes I use the option both ways. I set it to the how  I want a layer added to frames  for a layer I'm about to add to the layer stack be added to all frames or frames I am working on and select.   It is not uncommon to need to use both options. When there are few frames it does not matter much which option is set for  it is  easy to set which layer are visible in a small number frames. When you have a large number of frames and layers this option is very useful.

JJMack
JJMack
JJMackCorrect answer
Braniac
May 13, 2017

If you want to fill the area with the same content in that area you can do as Trevor has written.  Before you add the new layer  use the frame animation timeline fly-our menu and check new layer appear in all frames.  That way you do not need to manually change every frame in the timeline to make the layer visible in the frame's  composite image.

JJMack
Trevor.Dennis
Braniac
May 13, 2017

JJMack  wrote

If you want to fill the area with the same content in that area you can do as Trevor has written.  Before you add the new layer  use the frame animation timeline fly-our menu and check new layer appear in all frames.  That way you do not need to manually change every frame in the timeline to make the layer visible in the frame's  composite image.

Hey, I didn't know that JJ.  Nice one.  What I do is select all the frames and turn the layer on.  In fact I think it might default to doing that anyway.  I find it is not always predictable how editing a frame animation is going to work for you.

barbara_a7746676
Braniac
May 13, 2017

Sounds like you want to apply Content Aware Fill to multiple layers. It is not possible to Edit > Fill multiple layers at once. However, the Healing brush tools have an option to sample all layers.

Trevor.Dennis
Braniac
May 12, 2017

You don't need to.  Make the fix in a new layer at the top of the stack, and have that layer turned on for every frame.