The format has a TIFF-image structure. It is generated by Canon cameras. The CR2 photo is stored in an uncompressed form and allows you to edit such settings as white balance, exposure, and other settings for photos that were already taken. It is the successor format to CRW, which was used in previous generation Canon SLR cameras.
JPG extension was assigned to the image files. Many photos and web graphics are saved in JPG. In order to compress many bitmaps are saved in .jpg, that makes it easier to transfer and download these files on the Internet. JPG format based on the 24-bit color palette, the higher the level of compression applied to create the file JPG, the greater the decompression effect on image quality.