As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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=pdf
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
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}
@op
/api/v1/id/{docId}/@op/{MySuperConverterFromJpegToTiff}
Regards
Thanks Gregory!