Platform Explorer / CMF 1.8

Operation Picture.resize (Resize a picture)

In component

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 document, blob
Outputs blob, blob

Implementation Information

Implementation Class
Contributing Component

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" : [ "document", "blob", "blob", "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" : [ ]
  } ]
}