sony Remote API actTakePicture Original Size

177 views Asked by At

I'm using the remote API with a Alph 7R camera. I have a problem to get an Image in original size. The camera stores the image on memory card before I get the answer with the download address. This takes several seconds. When I use the camera without a memory card I get an error when I use the setPostviewImageSize command and I get in“the images in 2M size. I've tried to remove the memory card after setting the image size and that works fine. the image is displayed in less than 2s But after a reboot of the camera all settings are gone. The question is, is there a possibillity to change the image size to original without using a memory card or can I switch of storing images on memory card?

1

There are 1 answers

1
Anonymous On

I had a bug in my code so I got the wrong image after removing the memory card. So I never get an image in Original size without a card.

I'm using c++. After getting the scalarwebapi_dd.xml I send the first command startRecMode. This works as expected. The command getAvailableApiList returns an array with all functions I can use now and including setPostviewImageSize. Is a memory card inserted into the camera, the call of setPostviewImageSize returns a string like this {"result":[0],"id":1}. If I try calling this command without a card I get a JSON string with an error like this {"id":1,"error":[1,"Failed: couldn't set postview size."]} My question is, is there a possibility to set the image size via another command or can I use actProcessImage without storing the image on a memory card.