Animation over a static jpeg picture

I have a (simple) animation gif file (produced using gimp) and a static jpeg picture. I would like to put the animation gif file into the jpeg picture. How can I achieve that without losing the quality of the underlying jpeg picture (converting it to gif does not seem to be an option) ?

Answer

Put it where? On an html document? Just float them one above the other.

  • Depending on the colors and if you have set a transparency this can work.

  • If you need the animation to blend perfectly you need to re-export the animation with the background included, and use other method than gif. CSS sprite animation or a video.

  • Or make a png css sprite animation with transparency and put that over the jpg floating it or using double background with css.

Attribution
Source : Link , Question Author : Leo , Answer Author : Rafael

Leave a Comment