Platform Explorer / server 10.10

Operation Blob.Convert

Convert to given mime-type

Description

Convert the input file to a file of the given mime-type and return the new file.
Operation id Blob.Convert
Category Conversion
Label Convert to given mime-type
Requires
Since 5.7

Parameters

Name Description Type Required Default value
mimeType string yes  

Signature

Inputs bloblist, blob, document
Outputs bloblist, blob, blob

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.blob.ConvertBlob
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Blob.Convert",
  "label" : "Convert to given mime-type",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Convert the input file to a file of the given mime-type and return the new file.",
  "since" : "5.7",
  "url" : "Blob.Convert",
  "signature" : [ "bloblist", "bloblist", "blob", "blob", "document", "blob" ],
  "params" : [ {
    "name" : "mimeType",
    "description" : "",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}