C++ API Library Reference  4.3.2-74-ge1d4cca
Static Public Attributes | List of all members
EncoderConfiguration::SupportedEncoderMimeTypes Struct Reference

A list of the supported mime types for image encoding.

Static Public Attributes

static const String H264 = "video/h264"
 
static const String Jpeg = "image/jpeg"
 
static const String Png = "image/png"
 
static const String Tiles = "image/x-tile"
 

Member Data Documentation

const String H264 = "video/h264"
static

A constant reference to the H264 mime type.

H.264 is a popular video compression format which delivers high quality images at a fraction of the data size of other formats. Although H.264 can be a real boon to reduce bandwidth consumption, it is not suitable for every application. H.264 requires more time for both encoding and decoding than either JPEG or PNG, and this will reduce the frame rate of your application.

const String Jpeg = "image/jpeg"
static

A constant reference to the Jpeg mime type.

This is the default mime type.

const String Png = "image/png"
static

A constant reference to the Png mime type.

PNG images use loss-less encoding, and therefore changing the quality value of images sent as PNGs has no impact.

const String Tiles = "image/x-tile"
static

A constant reference to the Tiles mime type.

Tiles are small header-less JPEG images which only update the parts of the view that have changed since the last update; this sends noticeably less data to the clients. Tiles, however, require more computational effort on the part of the computer running the service application. This encoding format is supported in all client platforms except HTML5, but as a general rule JPEGs perform better.