This is generally because they are very compressed without losing a huge amount of data. It’s the most widely used image compression format in the world and the default format for a lot of digital cameras and smartphone cameras. JPG files are ideal for uploading and sharing online because of their small size and can be used and read by pretty much any program across computers and mobile devices. A JPG file is a raster image file widely used across digital photography.