Conversion of jpeg files to dat file format

Many file types that use dat suffix exist and it is not clear what particular jpeg to dat conversion is possible. Judging purely based one the formats, it is likely something like  export of JPEG pictures, which is easily doable, but .dat files are used in many software for various purposes.

Open JPEG file    Open DAT file