Public Attributes | List of all members
image_transport_codecs::CompressedImageContent Struct Reference

The part of a compressed message that represents the actual image data (i.e. data that can be passed to an external decoder). More...

#include <image_transport_codec.h>

Public Attributes

std::vector< uint8_t > data
 The image content. More...
 
std::string format
 Format of the image. This should be a string recognized by OpenCV, ffmpeg or similar tools. More...
 

Detailed Description

The part of a compressed message that represents the actual image data (i.e. data that can be passed to an external decoder).

Note
It is not guaranteed for every codec that its encoded messages carry some standalone meaning. If there is no meaning, it will just produce empty content messages.

Definition at line 36 of file image_transport_codec.h.

Member Data Documentation

◆ data

std::vector<uint8_t> image_transport_codecs::CompressedImageContent::data

The image content.

Definition at line 42 of file image_transport_codec.h.

◆ format

std::string image_transport_codecs::CompressedImageContent::format

Format of the image. This should be a string recognized by OpenCV, ffmpeg or similar tools.

Definition at line 39 of file image_transport_codec.h.


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


image_transport_codecs
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:33:19