Hi all, it there a way to force conversion of media asset by remote client call? If not, how to do it using local API?
Tnx a lot! M-
Hi,
There is no operation yet to trigger the conversions of Pictures or Videos.
For Videos, you can use the VideoService:
VideoService#launchConvertion
VideoService#launchAutomaticConversions
For Pictures, the easiest way for now is to reset the main blob on the Picture: that will trigger all the default conversions:
BlobHolder blobHolder = doc.getAdapter(BlobHolder.class); if (blobHolder.getBlob() != null) { blobHolder.setBlob(blobHolder.getBlob()); documentManager.saveDocument(doc); documentManager.save(); }