Download postview image in original size

感情迁移 提交于 2019-12-12 06:12:29

问题


Trying to download the postview image in original size I'm getting an error on setting "Postview image size" parameter to "Original". Downloading (and setting) the postview image with "2M" size is working well. Are there any undocumented limitations on downloading original sized postview images?

My camera model is ILCE 5100 with latest firmware installed.

Edit:

json request:

{'method': 'setPostviewImageSize', 'params': ["Original"], 'id': 1, 'version': '1.0'}

response:

{'id': 1, 'error': [1, "Failed: couldn't set postview size."]}

Replacing "Original" with "2M" the response is

{'id': 1, 'result': [0]}

回答1:


That error could be a result of not having a memory card inserted into the camera. Do you have one inserted?




回答2:


The answer for me was to update the Smart Remote Control app on the camera. This allowed the call to setPostviewImageSize to succeed now.



来源:https://stackoverflow.com/questions/31138813/download-postview-image-in-original-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!