some scripts, codes
add png8 support

Signed-off-by: feirlau <feirlau@gmail.com>