How do I encode an image for GR API?

kea

Joined: 2006-04-19
Posts: 1
Posted: Wed, 2006-04-19 11:34

In the documentation for the Gallery Redmote API it states that for the add image command:
userfile=form-data-encoded image data

What is "form-data-encoded image data"? This is not explained in the API doco.

Can someone please point me to he relevant documentation or sample code that I can crib from. I am trying to integrate Gallery Remote into a workflow application for photographers.

Similarly with the Gallery Remote Java client the doco refers to the use of metadata to set the title and caption of photos. However it also does not seem to explain how this is coded.

Thanks . . . Kea

 
fortyfoxes

Joined: 2006-09-24
Posts: 8
Posted: Sun, 2007-03-11 14:11

Hi I'd like to know as well... I am assuming this is multipart form encoded (described in rfc 1867.), but could be straight base64. Would be good to know?