#include <kfbxthumbnail.h>
Definition at line 53 of file kfbxthumbnail.h.
Thumbnail properties |
|
enum | EDataFormat
{ eRGB_24, eRGBA_32 } |
Data format. More... |
|
enum | EImageSize
{ eNOT_SET = 0, e64x64 = 64, e128x128 = 128, eCUSTOM_SIZE = -1 } |
Image size. More... |
|
KFbxTypedProperty< fbxInteger1 > | CustomHeight |
Pixel height of the thumbnail image.
|
|
KFbxTypedProperty< fbxInteger1 > | CustomWidth |
Pixel width of the thumbnail image. |
|
void | SetDataFormat (EDataFormat pDataFormat) |
Set the data format. |
|
EDataFormat | GetDataFormat () const |
Get the data format. |
|
void | SetSize (EImageSize pImageSize) |
Set the thumbnail dimensions. |
|
EImageSize | GetSize () const |
Get the thumbnail dimensions. |
|
unsigned long | GetSizeInBytes () const |
Get the thumbnail dimensions in bytes.
|
|
Thumbnail data access |
|
bool | SetThumbnailImage (const kUByte *pImage) |
Fill the thumbnail image. |
|
kUByte * | GetThumbnailImage () const |
Get the thumbnail image. |
enum EDataFormat |
enum EImageSize |
void SetDataFormat | ( | EDataFormat | pDataFormat | ) |
Set the data format.
pDataFormat | Data format identifier. |
EDataFormat GetDataFormat | ( | ) | const |
Get the data format.
void SetSize | ( | EImageSize | pImageSize | ) |
Set the thumbnail dimensions.
pImageSize | Image size identifier. |
EImageSize GetSize | ( | ) | const |
Get the thumbnail dimensions.
unsigned long GetSizeInBytes | ( | ) | const |
Get the thumbnail dimensions in bytes.
bool SetThumbnailImage | ( | const kUByte * | pImage | ) |
Fill the thumbnail image.
pImage | Pointer to the image data. A copy of the image data will be made. |
You must set the data format and the dimensions before calling this function. If the image size is set to eCUSTOM_SIZE the CustomHeight and CustomWidth properties must be set before calling this function.
true
if the thumbnail properties were set before
calling this function. false
otherwise.kUByte* GetThumbnailImage | ( | ) | const |
Get the thumbnail image.
NULL
if the
thumbnail is empty.Pixel height of the thumbnail image.
Definition at line 65 of file kfbxthumbnail.h.
Pixel width of the thumbnail image.
Definition at line 68 of file kfbxthumbnail.h.