Convert a binary file to a PNG image and then back to binary.