set encoding to ascii-8bit for png file