Platform Explorer / Nuxeo Platform 6.0

Operation Picture.resize (Resize a picture)

Description

Use conversion servcie to resize a picture contained in a Document or a Blob
Operation id Picture.resize
Category Conversion
Label Resize a picture
Requires
Since

Parameters

Name Description Type Required Default value
maxHeight int yes  
maxWidth int yes  

Signature

Inputs blob, document
Outputs blob, blob

Implementation Information

JSON Definition

{
  "id" : "Picture.resize",
  "label" : "Resize a picture",
  "category" : "Conversion",
  "requires" : "",
  "description" : "Use conversion servcie to resize a picture contained in a Document or a Blob",
  "url" : "Picture.resize",
  "signature" : [ "blob", "blob", "document", "blob" ],
  "params" : [ {
    "name" : "maxHeight",
    "description" : null,
    "type" : "int",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "maxWidth",
    "description" : null,
    "type" : "int",
    "required" : true,
    "widget" : "",
    "order" : 0,
    "values" : [ ]
  } ]
}