Read a (jpg, png, gif) image into a standard binary format in memory.