Raytrix Light Field SDK
5.0
|
An image file.
Public Member Functions | |
ImageFile () | |
Default constructor. More... | |
void | Save (Rx::Net::Image^ xImage, System::String^ sFilename) |
Saves the given image under the given file name. The extension of the file name describes the used codec. Possible extensions are .bmp, .tiff, .jpg, .png. More... | |
Static Public Member Functions | |
static Rx::Net::Image ^ | Load (System::String^ sFilename) |
Loads the image described by the given file name. More... | |
Properties | |
array< double >^ | Cropping |
The cropping used for saving images. More... | |
int | JpegQuality |
The quality used for saving JPEG images. The range is 0 - 100 where 100 is the best quality. More... | |
Rx::Net::Codec::ImageFile::ImageFile | ( | ) |
Default constructor.
|
static |
Loads the image described by the given file name.
sFilename | [in] The filename to load. |
void Rx::Net::Codec::ImageFile::Save | ( | Rx::Net::Image^ | xImage, |
System::String^ | sFilename | ||
) |
Saves the given image under the given file name. The extension of the file name describes the used codec. Possible extensions are .bmp, .tiff, .jpg, .png.
xImage | [in] The image to save. |
sFilename | [in] The file name of the saved image. |
array< double>^ Rx::Net::Codec::ImageFile::Cropping |
The cropping used for saving images.
The cropping array must be null or must contain 4 double values. The first value defines the left border, the second value the right border, the third value the top border and the fourth value the bottom border. The values must be given between 0.0 and 1.0 and are the percentages of the image dimensions.
int Rx::Net::Codec::ImageFile::JpegQuality |
The quality used for saving JPEG images. The range is 0 - 100 where 100 is the best quality.