Imports
New algorithm to save pngs