C++ API Library Reference
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"

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.

When H.264 is selected as the preferred mime type, PureWeb will look for NVidia's NVENC capabilities, or an installed x264 library, before defaulting back to a slower software encoder. Decoding an H.264 stream is resource-intensive and may require significant CPU capabilities on the client to achieve acceptable results.

const String Jpeg = "image/jpeg"

A constant reference to the Jpeg mime type.

This is the default mime type.

const String Png = "image/png"

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"

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.