# GetImageToBlob

This method is used to acquire an image from the attached camera, and storing the image blob storage (in localblobstorage).

### **Method Name:**

GetImageToBlob

### **Payload:**

The direct command requires a container, a blob file name and optionally an exposure time measured in microseconds.

```
{
    "container": "mycontainer",
    "blobName": "image.bmp",
    "exposureUs": 25000
}
```

The above command acquires an image with an exposure time of 25000 microseconds (25 milliseconds), with the blob name "image.bmp". The blob is saved in the container "mycontainer". If the container does not already exist, it will be created.

ExposureUs is optional, and the default value is 15000 microseconds.

### **Return value**

The direct command returns an OperationResult that indicates either success or failure.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tricloudnexus.io/edge/nexus-modules/data-connector-modules/scenecontrollermodule/direct-commands/getimagetoblob.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
