We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8880940 commit 955d8b0Copy full SHA for 955d8b0
src/viam/sdk/components/private/camera_client.cpp
@@ -54,6 +54,9 @@ Camera::image_collection from_proto(const viam::component::camera::v1::GetImages
54
std::string img_string = img.image();
55
const std::vector<unsigned char> bytes(img_string.begin(), img_string.end());
56
raw_image.bytes = bytes;
57
+ // TODO(RSDK-11733): This is a temporary fix to support handling both the format and mime
58
+ // type. We will remove this once we remove the format field from the proto.
59
+ // We will remove this once we remove the format field from the proto.
60
if (!img.mime_type().empty()) {
61
raw_image.mime_type = img.mime_type();
62
} else {
0 commit comments