Copy link to clipboard
Copied
Hello!
With photoshop CC 2018 I created a gif animation, clicking on "create video timeline" and then using the clock icon with the "transform", changing the w value to 1% at frame 100 . The original image was this png file: https://postimg.org/image/iq7f73hwb/ , the result this gif: https://media.giphy.com/media/gXPl17sWWZ0HndMPQW/giphy.gif
Both have and should have transparent background, I am 99% happy with the result. Unfortunately this annoying detail, at some point a thin white outside boarder around the question mark appeared. To demonstrate (since it might not be visible with the two images above) I saved a single frame, put it in front of a green background (for some unknown reason it came out dark grey instead of green, but that is not the point here). https://postimg.org/image/f99yhid97/
The thin white line is annoying since I will use the animation with another background later. I hope it is just a little check/uncheck a boarder setting or using an svg or whatever filetype as the origininal image or something with safe settings. Any ideas? Thanks in advance!
A gif can only have 1 color transparent. You will always have a "halo" from the anti-aliasing. You can remove it and you will have a rough "stair-step" edge. It's best to place it on a solid color background to match the anti-aliasing color.
A png has alpha layer level transparency - 256 levels the same as a photoshop level. However, you can't animate a png.
Copy link to clipboard
Copied
Looks like an aliasing problem (jagged edges).
Aliasing & anti-aliasing in Photoshop
Copy link to clipboard
Copied
Thanks! Do I have to apply Anti Aliasing for the original image or the animation? Because I can not apply it for all the individual frames, unless it does it automatically.
Copy link to clipboard
Copied
I think you need to start over with a clean GIF.
Copy link to clipboard
Copied
Are you saying I should save the original png as a gif, and then base the animation on that gif?
Copy link to clipboard
Copied
I kinda solved it, that white only appears if there is no background. Once you put a background behind it its invisible, therefore its all good
Copy link to clipboard
Copied
A gif can only have 1 color transparent. You will always have a "halo" from the anti-aliasing. You can remove it and you will have a rough "stair-step" edge. It's best to place it on a solid color background to match the anti-aliasing color.
A png has alpha layer level transparency - 256 levels the same as a photoshop level. However, you can't animate a png.
Copy link to clipboard
Copied
thanks, how can I decide what the color of the halo is? In this case, I would want it to be black http://playground.e-smog.org/gimpforum/gif-bg.html
Copy link to clipboard
Copied
Create your image on a black background, then the edges will be belack if you make black transparent.
Copy link to clipboard
Copied
I tried, so its two layers, one is the animation, black boarder, outside of it all transparent.
Layer 2 is black.
I thought stacking the black layer 2 on the bottom would automatically set it at background, but instead the whole animation was black when I replayed it.
It first automatically changed Layer 1 to "darken", (left of the opacity menu on the lower right side of the screen). That made every thing black.
Another question, which of the two layers do I change black -> transparency?
Copy link to clipboard
Copied
I just found out the easiest way:
In the Safe for Web menu, there is "Matte" on the upper right side. Changed it to black, so the halo is gone (or more precise: the halo is black now, so completely blending in with the black boarder of the question mark)
https://s17.postimg.org/o5jhy15zz/qm-500-500-matte-black.gif
Copy link to clipboard
Copied
Use "FXAA" Plugin. It's free and works like a charm!
PRO TIP: Duplicate the effect until you reach the desired result.
[Link to FXAA removed by moderator since it is not a Photoshop plug-in. (Thanks @Paul-BU ) ]
Copy link to clipboard
Copied
This thread is about photoshop GIFs and the FXAA plugin is for After Effects, just FYI to anyone who sees this post above.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now