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

How to Content-Aware Fill Multiple layers

  • May 12, 2017
  • 7 replies
  • 9943 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

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.

 

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
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

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
Community Expert
Community Expert
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 6, 2018

usermac  wrote

3. Yet, when I do it (with Layer 361 selected), Photoshop keeps on showing the image corresponding to Frame 1/Layer 1 in its main working window. I guess that should not happen and instead an empty area of the newly created and selected Layer 361 should show. You say: "You would add the content you want to overlay the area in the animation with". How to do it?

with layer 631 targeted the image window should show what is in Layer 1 because layer 1 and layer 361 are visible.  The image look like Layer 1 because Layer 361 is empty so the composite image will be like layer 1.  You need to select the area you want to change in layer 361 and add the content into the selection that you want to overlay all the layers with.

Because new layer apears in all frames the animation will be

Frame 1 will have layer 1 and layer 361 visible

Frame 2 will have layer 2 and layer 361 visible

.

.

.

the last frame is frame 360

Frame 360 will have layer 360 and layer 361 visible

Once again you need to learn basic Photoshop operation,  This forum is not what you should be  using.  You do not understand users replies because you do not know basic things. You can not follow the Photoshop steps given to you in replies because you do not know basic Photoshop things.  Please at least look at some basic Photoshop tutorials.  Your a bad guesser because you don't know basic things.  Layers are basic and where Photoshop power is. Learning about layers is a must.


Thanks, but I found how to do it. See my previous message with idiot-proof step-by-step procedure that I meant for people that do know nothing about Photoshop. Anyone could use it. No problem now. All fixed. Thanks again for your help. In summary, it is as easy as:

- Select layer on top and "Layer - New - Layer".

- Select the newly created layer and edit image on main working window.

- When finished, select “File - Export - Save for Web (Legacy)”, using “Preset - GIF 128 Dithered”.

JJMack
Community Expert
Community Expert
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
Community Expert
JJMackCommunity ExpertCorrect answer
Community Expert
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
Community Expert
Community Expert
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
Community Expert
Community Expert
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
Community Expert
Community Expert
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.