runtime support

1: support runtime
2: support gif in ImageTool runtime