cancel
Showing results for 
Search instead for 
Did you mean: 

URL with appended "@convert?format=tiff" possible?

Mark_Lumsden
Champ in-the-making
Champ in-the-making

hi, If I want to download a pdf of an jpg file I can use a URL with "@convert?format=pdf" appended to it, e.g:

https://dms.nuxeo.local/nuxeo/api/v1/path/domain01/workspaces/workspace01/car.jpg/@convert?format=pd...

Nice feature!! If I want to download it as a tiff and replace "pdf" with either "tiff" or "tif" in the URL, I get:

"No converters available to convert from image/jpeg to image/tiff."

Can someone point me in the direction of enabling jpg to tiff format conversion via the "@convert?format=" method?

thank Mark

2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

I would say there is not, by default, a converter from JPEG to TIFF. So my suggestion would be to create a custom converter in Nuxeo Studio (https://doc.nuxeo.com/nxdoc/how-to-contribute-a-command-line-converter/), then create an operation from it, and use then @op adapter, like /api/v1/id/{docId}/@op/{MySuperConverterFromJpegToTiff}

Regards

Thanks Gregory!

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.