Request to rotate an image
name | data type | constraints | description |
---|---|---|---|
image | Image | Image to rotate | |
copyFile | boolean | required boolean | Flag for copying the file |
rotate | ImageRotate | Direction for rotating the image. cw for clockwise, ccw for counter-clockwise. The image will first be rotated and then (optionally) cropped and resized | |
targetFormat | string | Target format (defaults to "png") |
Example
{ "image" : { "iconCls" : "...", "sizeX" : 12345, "sizeY" : 12345, "typeId" : 12345, "dpiX" : 12345, "dpiY" : 12345, "gisResizable" : true, "fpX" : 12345.0, "fpY" : 12345.0, "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "folderName" : "...", "channelId" : { }, "text" : "...", "leaf" : true, "cls" : "...", "fileType" : "...", "description" : "...", "folderId" : 12345, "fileSize" : 12345, "tags" : { "property1" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "TEMPLATETAG" }, "property2" : { "id" : 12345, "name" : "...", "constructId" : 12345, "construct" : { }, "active" : true, "properties" : { "property1" : { }, "property2" : { } }, "type" : "CONTENTTAG" } }, "url" : "...", "liveUrl" : "...", "publishPath" : "...", "inherited" : true, "path" : "...", "forceOnline" : true, "online" : true, "broken" : true, "disinheritedChannels" : [ { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "LiveEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "insecurePreviewUrl" : true, "meshProject" : "...", "omitPageExtension" : true, "pageLanguageCode" : "NONE", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "page", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, { "folderId" : 12345, "publishDir" : "...", "binaryPublishDir" : "...", "pubDirSegment" : true, "https" : true, "host" : "...", "publishFs" : true, "publishFsPages" : true, "publishFsFiles" : true, "publishContentMap" : true, "publishContentMapPages" : true, "publishContentMapFiles" : true, "publishContentMapFolders" : true, "contentRepositoryId" : 12345, "disablePublish" : true, "editorVersion" : 12345, "contentEditor" : "LiveEditor", "defaultFileFolderId" : 12345, "defaultImageFolderId" : 12345, "languagesId" : [ 12345, 12345 ], "masterId" : 12345, "inheritedFromId" : 12345, "masterNodeId" : 12345, "urlRenderWayPages" : 12345, "urlRenderWayFiles" : 12345, "meshPreviewUrl" : "...", "insecurePreviewUrl" : true, "meshProject" : "...", "omitPageExtension" : true, "pageLanguageCode" : "FILENAME", "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "channel", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "folder" : { "inheritedFrom" : "...", "inheritedFromId" : 12345, "masterNode" : "...", "masterNodeId" : 12345, "motherId" : 12345, "publishDir" : "...", "description" : "...", "nodeId" : 12345, "inherited" : true, "atposidx" : "...", "startPageId" : { }, "tags" : { "property1" : { }, "property2" : { } }, "subfolders" : [ { }, { } ], "hasSubfolders" : true, "privileges" : [ "createtemplate", "deletepage" ], "privilegeBits" : "...", "privilegeMap" : { }, "path" : "...", "masterId" : 12345, "channelsetId" : 12345, "channelId" : 12345, "isMaster" : true, "disinheritedChannels" : [ { }, { } ], "excluded" : true, "disinheritDefault" : true, "disinherited" : true, "meshProject" : "...", "breadcrumbs" : [ { }, { } ], "nameI18n" : { "property1" : "...", "property2" : "..." }, "descriptionI18n" : { "property1" : "...", "property2" : "..." }, "publishDirI18n" : { "property1" : "...", "property2" : "..." }, "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { }, "cdate" : 12345, "editor" : { }, "edate" : 12345, "type" : "channel", "deleted" : { }, "masterDeleted" : { }, "folderDeleted" : { } }, "niceUrl" : "...", "alternateUrls" : [ "...", "..." ], "id" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." }, "edate" : 12345, "type" : "node", "deleted" : { "at" : 12345, "by" : { } }, "masterDeleted" : { "at" : 12345, "by" : { } }, "folderDeleted" : { "at" : 12345, "by" : { } } }, "copyFile" : true, "rotate" : "cw", "targetFormat" : "..." }