HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HAPI_ImageInfo Struct Reference

#include <HAPI_Common.h>

Public Attributes

HAPI_StringHandle imageFileFormatNameSH
 
int xRes
 
int yRes
 
HAPI_ImageDataFormat dataFormat
 
HAPI_Bool interleaved
 ex: true = RGBRGBRGB, false = RRRGGGBBB More...
 
HAPI_ImagePacking packing
 
double gamma
 

Detailed Description

Definition at line 1324 of file HAPI_Common.h.

Member Data Documentation

HAPI_ImageDataFormat HAPI_ImageInfo::dataFormat

Definition at line 1337 of file HAPI_Common.h.

double HAPI_ImageInfo::gamma

Adjust the gamma of the image. For anything less than HAPI_IMAGE_DATA_INT16, you probably want to leave this as 2.2.

Definition at line 1344 of file HAPI_Common.h.

HAPI_StringHandle HAPI_ImageInfo::imageFileFormatNameSH

Unlike the other members of this struct changing imageFileFormatNameSH and giving this struct back to HAPI_SetImageInfo() nothing will happen. Use this member variable to derive which image file format will be used by the HAPI_ExtractImageTo...() functions if called with image_file_format_name set to NULL. This way, you can decide whether to ask for a file format conversion (slower) or not (faster).

Definition at line 1332 of file HAPI_Common.h.

HAPI_Bool HAPI_ImageInfo::interleaved

ex: true = RGBRGBRGB, false = RRRGGGBBB

Definition at line 1339 of file HAPI_Common.h.

HAPI_ImagePacking HAPI_ImageInfo::packing

Definition at line 1340 of file HAPI_Common.h.

int HAPI_ImageInfo::xRes

Definition at line 1334 of file HAPI_Common.h.

int HAPI_ImageInfo::yRes

Definition at line 1335 of file HAPI_Common.h.


The documentation for this struct was generated from the following file: