How to get a raw image by the cameraThumbnail API
AnsweredI noticed cameraThumbnail API returns an error when I specify the raw format.
/ec2/cameraThumbnail?cameraId=02a0a4b6-27be-9c0c-5544-b425914b0416&height=256&width=256&imageFormat=raw
This always says:
{
"error": "3",
"errorString": "Unsupported image format 'raw'"
}
What I had to specify as the format string in case I want to get the raw data?
I am telling the reason I want to take a raw image data. I want to convert the camera image to Jpeg in my program because I want to add some data in Exif data of the camera image. In addition, it may fail to get the lastest image thumbnail as Jpeg when the camera is recorded. The manual says getting a raw image will be lightweight for the edge.
Thank you.
-
Hi SHUNSUKE BABA,
I could get the same result on my test server. It is likely some descriptions need to be fixed in our document. We have reported to the DEV team for checking it.
At the moment, please use jpg/png imageFormat instead of raw/tif for your program first.Please let me know if you have further questions.
Thank you for your feedback.JIRA-VMS-18594
0 -
I will use jpeg as of now. but I want to get the raw data and make a jpeg file by my code in future.
Thanks.
0
Please sign in to leave a comment.
Comments
2 comments