add png and pdf support
fix commit