Always convert the image into jpg file format.