Skip to content

Commit 5030a7e

Browse files
committed
Add comment about format
1 parent 4ee881c commit 5030a7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/viam/sdk/components/private/camera_client.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Camera::image_collection from_proto(const viam::component::camera::v1::GetImages
5454
std::string img_string = img.image();
5555
const std::vector<unsigned char> bytes(img_string.begin(), img_string.end());
5656
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.
5760
if (!img.mime_type().empty()) {
5861
raw_image.mime_type = img.mime_type();
5962
} else {

0 commit comments

Comments
 (0)