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 8b56b94Copy full SHA for 8b56b94
src/viam/sdk/components/private/camera_client.cpp
@@ -54,6 +54,8 @@ 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 type.
58
+ // We will remove this once we remove the format field from the proto.
59
if (!img.mime_type().empty()) {
60
raw_image.mime_type = img.mime_type();
61
} else {
0 commit comments