Go to the documentation of this file.
4 #ifndef __RS_CONVERTER_CONVERTER_PNG_H
5 #define __RS_CONVERTER_CONVERTER_PNG_H
9 #define STB_IMAGE_WRITE_IMPLEMENTATION
10 #include "stb_image_write.h"
12 #include "../converter.hpp"
33 return "PNG converter";
59 <<
"_" << std::setprecision(14) << std::fixed << videoframe.
get_timestamp()
62 std::stringstream metadata_file;
65 <<
"_metadata_" << std::setprecision(14) << std::fixed << videoframe.
get_timestamp()
72 [filenameS, metadataS, videoframe] {
int get_stride_in_bytes() const
STBIWDEF int stbi_write_png(char const *filename, int w, int h, int comp, const void *data, int stride_in_bytes)
GLsizei const GLchar *const * string
std::string stream_name() const
rs2_stream stream_type() const
const void * get_data() const
double get_timestamp() const
stream_profile get_profile() const
int get_bytes_per_pixel() const
rs2_stream
Streams are different types of data provided by RealSense devices.
rs2::frame process(rs2::frame frame) const override
librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01