add gif support for rtgui