a gif view lib and demo with software decoder