#include <kfbximageconverter.h>
Inherits KFbxObject.
Inheritance diagram for KFbxImageConverter:
Definition at line 162 of file kfbximageconverter.h.
Public Member Functions | |
void | RegisterConverterFunction (KString pFileExt, ImageConverterFunction pFct) |
Register a user converter function into the system. | |
void | UnregisterConverterFunction (ImageConverterFunction pFct) |
Removes a user converter function from the system. | |
bool | Convert (int pDirection, KString &pFileName, ImageConverterBuffer &pBuffer) |
Perform the actual conversion. |
void RegisterConverterFunction | ( | KString | pFileExt, | |
ImageConverterFunction | pFct | |||
) |
Register a user converter function into the system.
pFileExt | The image file extension the registered function can handle. | |
pFct | The function that can convert the image file. |
void UnregisterConverterFunction | ( | ImageConverterFunction | pFct | ) |
Removes a user converter function from the system.
pFct | The function to be removed from the list of converters. |
bool Convert | ( | int | pDirection, | |
KString & | pFileName, | |||
ImageConverterBuffer & | pBuffer | |||
) |
Perform the actual conversion.
pDirection | Either FileToBuffer (0) or BufferToFile (1). | |
pFileName | The destination filename (can be changed by the ImageConverterFunction). | |
pBuffer | The data placeholder. |
true
if the conversion is successful, false
otherwise.