Refactoring. Change extension to png.