cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to create an image conversion via API?

Roberto_Baranzi
Champ on-the-rise
Champ on-the-rise

Could you please tell me is it possible (and how) to add a new picture conversion to an existing picture document in Nuxeo Platform?

My use case is the following, I can upload a picture file to the platform and after some time I would like to upload via API a file containing the same picture, but in a different size or mime-type. In this case, Nuxeo should treat the uploaded file only as a conversion of the existing image and not a new asset.

I have gone through the documentation of Nuxeo but cannot seem to find the answer to my question.

4 REPLIES 4

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

Here are several documentation link which will probably help you:

As for the REST API calls for conversions, you need to use a web adapter: https://doc.nuxeo.com/nxdoc/rest-api-web-adapters/, so like http://NUXEO_SERVER/nuxeo/api/v1/id/{docId}/@convert?format=pdf

Regards

Thank you for the fast reply, I will certainly dig into the proposed links.

You can choose to use a specific property (of type blob) to store a file (which could be a conversion or anything else).

Hi, thanks again for replying!

Getting started

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.