ImageTransformationService

The Class ImageTransformationWebService transforms the incoming image and creates new images with using settings in selected image profiles.

Endpoint Metadata

  • Namespace: http://opencase.extend.com/contentprocessor/webservices/imagetransformation
  • Endpoint Name: ImageTransformationWebService
  • Endpoint Address: http(s)://{VMS URL}/ContentProcessor/webservices/image-transformation-service

The following methods are available on this endpoint:

asynchronousTransform

Triggers ASYNCHRONOUS event to call transform.

Input Parameters

name type description
processId string the process id
inputFile string the input file to transform with image profiles
outputPath string the output path to put new images into
applyAllImageProfiles boolean the apply all image profiles
selectedImageProfileIds list the selected image profile ids if applyAllImageProfiles is false

Faults

name description
ImageTransformationWebServiceFault if the input file, outputPath, or any of image profiles cannot be found or if an error occurswhen trying to perform the transformation operation.

immediateTransform

Method applying image profiles to cdnImageLocationFullPath where stored original image and returns list with description for eachadded file to create Physical Asset.

Input Parameters

name type description
repositoryPath string path of repository with repository name
repositoryThumbnailPath string path of repository for thumbnail image in profile
componentName string name of component that will be created for original image
defaultImageFormat string when selected com.extend.opencase.cm.ImageProfile doesn't have imageType used this value as default
selectedImageProfileIds list list of selected profiles
fileBytes byte[] content of original file

Return Value

type description
list<ImageTransformationResult> list of ImageTransformationResult with data about created images with profiles

Faults

name description
ImageTransformationWebServiceFault the image transformation web service fault