Can font be read in png or jpg format in glyphs through Python scripts

Thanks, i will have a try