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.
PNM is a raster image category format. This is a bitmap bitmap created in Portable Any Map format. As you know, this format was intended from the very beginning to process some types of portable monochrome black and white images (PBM), color images (PPM) and grayscale images with shades of gray (PGM). Allows the inclusion of raster graphics data in the .PBM, .PGM or .PPM format. Such formats can provide an intermediate representation of data during the conversion of raster graphic files by different platforms. Separate applications support these three formats directly because they are defined as the PNM format. Able to be stored using binary data or ASCII text. PNM is the common format for the Netpbm package. It contains intermediate files that are used when it comes to converting several open source programs called Portable Bitmap. The PPM format was developed by J. Poskanzer. This is the easiest format for storing graphics. PNM files store one image. They do not apply compression. To view and process a bitmap image in PNM format, you can use programs such as GIMP, ImageMagick, Newera Graphics Converter Pro, XnViewMP. The same programs are able to convert images of this format.