#include<kfbximageconverter.h>
List of all members.
Detailed Description
Provides a placeholder of functions to convert from a file format to "raw" data and vice et versa.
Definition at line173of filekfbximageconverter.h.
Member Function Documentation
void RegisterConverterFunction | ( | KString | pFileExt, |
| | ImageConverterFunction | pFct | |
| ) | | | |
Register a user converter function into the system.
- Parameters:
| 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.
- Parameters:
| pFct | The function to be removed from the list of converters. |
Perform the actual conversion.
- Parameters:
| pDirection | Either FileToBuffer (0) or BufferToFile (1). |
| pFileName | The destination filename (can be changed by the ImageConverterFunction). |
| pBuffer | The data placeholder. |
- Returns:
true
if the conversion is successful,false
otherwise.