01-31-2014 01:51 PM
Hi,
I'm trying to convert a PNG image to JPG via the REST API and the Blob.Convert extension point on a 5.8 instance running locally with DAM installed. The curl command is:
curl -u Administrator:Administrator -H 'Content-Type: application/json+nxrequest' -X POST http://localhost:8080/nuxeo/api/v1/id/bef0ca7b-79e5-4d38-8a3f-df01bee0db6d/@blob/file:content/@op/Bl... -d '{"params":{"mimeType":"image/jpeg"},"context":{}}' > file.jpg
where the UUID is to a Picture extended document containing a PNG file.
The curl command returns 200 OK but the file produced is identical to the uploaded file -- it's format was not changed.
Thanks in advance.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.