Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Enumerations | Functions
VuoImageFormat.h File Reference


VuoImageFormat C type definition.


struct  VuoList_VuoImageFormat_struct
 A list of VuoImageFormat elements. More...


enum  VuoImageFormat {
  VuoImageFormat_PNG, VuoImageFormat_JPEG, VuoImageFormat_TIFF, VuoImageFormat_BMP,
  VuoImageFormat_HDR, VuoImageFormat_EXR, VuoImageFormat_GIF, VuoImageFormat_TARGA,
 An enum defining different image formats that Vuo is capable of exporting. More...


VuoImageFormat VuoImageFormat_makeFromJson (json_object *js)
 Decodes the JSON object js, expected to contain a string, to create a new VuoImageFormat.
json_objectVuoImageFormat_getJson (const VuoImageFormat value)
 Encodes value as a JSON object.
VuoList_VuoImageFormat VuoImageFormat_getAllowedValues (void)
 Returns a list of values that instances of this type can have.
char * VuoImageFormat_getSummary (const VuoImageFormat value)
 Same as VuoImageFormat_getString() but with some capitilization involved.
char ** VuoImageFormat_getValidFileExtensions (const VuoImageFormat value, int *length)
 Return an array of valid file extensions for this format (ex, JPEG returns {"jpeg", "jpg"}).
char * VuoImageFormat_getExtension (const VuoImageFormat value)
 Return a char* that can be used as an extension.
bool VuoImageFormat_areEqual (const VuoImageFormat value1, const VuoImageFormat value2)
 Returns true if the two formats are identical.
bool VuoImageFormat_isLessThan (const VuoImageFormat value1, const VuoImageFormat value2)
 Returns true if value1 < value2.
VuoImageFormat VuoImageFormat_makeFromString (const char *str)
 Automatically generated function.
char * VuoImageFormat_getString (const VuoImageFormat value)
 Automatically generated function.
void VuoImageFormat_retain (VuoImageFormat value)
 Automatically generated function.
void VuoImageFormat_release (VuoImageFormat value)
 Automatically generated function.
#define VuoList_VuoImageFormat_TYPE_DEFINED
typedef struct