遍历目录文件、pmg->png