In image encryption ,there are two stages. First for ciphering and the second for deciphering . In the ciphering stage, can we construct an enciphered file instead of enciphered image.
Any type of data, including image data, is a binary stream, and therefore can be entirely encrypted by a conventional encryption method. If you maintain the syntax/format of the data (including the header files), you can maintain the usability of the data (in the case of image encryption, you can display the content).