support png file upload.