A .dat file is actually a data file containing images, audio, text, etc. Because of the application using this file format, usually all you have to do is to change the extension of the original file. Instead of PNG, you rename the file and add DAT then try and open the file into your application which needs .DAT files.