Safer name for png embedding function
Polishing performance
Improving memory