Activity › Forums › Adobe After Effects › Problems of white lines around any objects
-
Problems of white lines around any objects
Posted by Mit Panchani on October 28, 2015 at 4:06 amI am having an problem as described in image –
Any object i draw in after effects , when i zoom in to align with other object there is 2px thick white line beyond actual boundary of shape.
This varies as i move the object in the composing area.
Is that normal or i need to do something to get rid of it?
I have selected no stroke – its 0 px.
occurs in all new projects too , i.e. its global for me.
Mit Panchani replied 10 years, 6 months ago 3 Members · 9 Replies -
9 Replies
-
John Cuevas
October 28, 2015 at 1:28 pmWhat are your comp settings, aspect ratio, pixel aspect ratio. Also, can you post a screen shot of your timeline with any changes to the layer twirled open?
Johnny Cuevas, Editor
ThinkCK“I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
—THOMAS EDISON on inventing the light bulb. -
Kalleheikki Kannisto
October 29, 2015 at 7:15 pm -
Kalleheikki Kannisto
October 30, 2015 at 8:02 amI don’t see any problem there, only an antialiased soft edge from the shape not being aligned to pixel edges.
-
Mit Panchani
October 30, 2015 at 8:09 amSo that’s an absolute normal thing?
That changes the opacity as i change the position of the object.When i move the object with arrow keys, there is one position when that line becomes solid and no more a hindrance.
-
Kalleheikki Kannisto
October 30, 2015 at 12:22 pmYes, that “in-between color” pixel is normal sub-pixel sampling. That is how most pixel-based imaging programs deal with edges that don’t align perfectly to a specific pixel edge, they blend the values in an attempt to produce a smoother output. It is the same as you see in the outlines of the text, just on a vertical edge that is not aligned to a specific pixel.
Essentially you will have to make sure that the edges are mathematically exact to get rid of that effect.
A potentially useful resource for you:
https://chrissilich.com/blog/after-effects-expression-snapping-objects-to-whole-pixels/
You will still have to make the solids an even number of pixels wide and tall for this to work on every edge.
-
Mit Panchani
October 30, 2015 at 2:11 pmThanks for the guide. Understood what you conveyed, cleared my doubts.
Reply to this Discussion! Login or Sign Up


