Namespace: Rx – Class: CImageFile – Header: Rx.Codec/ImageFile.h

CImageFile Class

C++
#include "Rx.Codec/ImageFile.h"
class CImageFile

Provides methods for reading and writing image files.

Constructors

CImageFile()

Deleted default constructor.

Static Methods

Read(xTrgImg, sxFilename)

Reads the given file and stores the decoded image into target image.

Write(image, path)

Writes the given source image encoded to the given file. The codec is determined by the filename extension.

Write(image, path, xCodec)

Writes the given source image encoded with the given codec to the given file.

WriteToArray(array, xSrcImg, sxFileEnding)

Writes to array.

GetCodecFromFilename(path)

Determines the codec based on the extension of the given file name.