Read PNG before storing it