Added more automatic small image generator.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>