user4197: I'm using After Effects CC 2017. I've imported a PNG image with transparency, then I added a simple CC Light Wipe effect:

The problem is that the range of the lights produced by this effect are limited to the image size, so it produces an annonying thingy. Is there a way to resize the canvas of the layer of the image or another way to solve this (avoiding the need to resize the image canvas using external programs like Photoshop)?. 
I really tried to find out the answer researching in Google before asking here but I only found questions about resizing the entire compossition in the compossition settings...

user1950: And because there's always two ways of doing anything in After Effects: 

precompose the layer to which you want to apply the effect. 
In the pre-compose dialogue choose "leave all attributes…". 
Resize the new composition to the size you need. 
Then in the original composition apply the effect to the pre-comp.


user1871: Add an adjustment layer on top (right-click in empty area of the layer names. Go to New menu) Apply the effect to that.

4197: <p>I'm using <strong>After Effects CC 2017</strong>. I've imported a PNG image with transparency, then I added a simple <strong>CC Light Wipe</strong> effect:</p>

<p><a href="https://i.stack.imgur.com/CXonX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CXonX.png" alt="enter image description here"></a></p>

<p>The problem is that the range of the lights produced by this effect are limited to the image size, so it produces an annonying thingy. Is there a way to resize the canvas of the layer of the image or another way to solve this (avoiding the need to resize the image canvas using external programs like <strong>Photoshop</strong>)?. </p>

<p>I really tried to find out the answer researching in Google before asking here but I only found questions about resizing the entire compossition in the compossition settings...</p>
 1950: <p>And because there's always two ways of doing anything in After Effects: </p>

<ul>
<li><p>precompose the layer to which you want to apply the effect. </p></li>
<li><p>In the pre-compose dialogue choose "leave all attributes…". </p></li>
<li><p>Resize the new composition to the size you need. </p></li>
<li><p>Then in the original composition apply the effect to the pre-comp.</p></li>
</ul>
 1871: <p>Add an adjustment layer on top (right-click in empty area of the layer names. Go to New menu) Apply the effect to that.</p>
