CR2 is a graphic file format developed by the manufacturer of camcorders and cameras Canon. This means that all images made by the equipment of this manufacturer are saved by default in CR2 format (short name from Canon Raw Image File). One of the most attractive properties of images of the specified format is their high quality, even if the file is being edited (color balance, contrast, brightness change). Data for the CR2 format image is obtained directly from the matrix. Among the main drawbacks of the format are the large file size, as well as poor compatibility with other software products.
PEF is a highly specialized raster image format. Created by the manufacturer of Pentax cameras for storing digital images taken by these devices. The name is an abbreviation for Pentax Electronic File. PEF files are digital photographs (RAW) without any compression, color editing or distortion. Data taken directly from the Pentax camera sensor. This format is also used by some Samsung cameras. At the same time, PEF format files are not compatible with image viewers, they cannot be printed and edited in graphic editors, they are not available for posting online. All this is possible only when converting to another format.