Programs like PicturesToExe allows users to create a slideshow of pictures (JPEG, PNG, GIF etc.) as a standalone Windows executable (.exe).
jpg to exe conversion is probably one of the few picture to executable conversion possible. You will however need more than a single .jpg file in order to create a slideshow or some kind of picture animation.