Use this API to change the format (PNG->JPEG, etc.) or resize images (for generating logo or thumbnails). These are not the only operations supported. In fact, the entire convert command options of ImageMagick can be passed through.
The APIs call ImageMagick 6.7.8-9 convert command. You can pass one file as the input, the convert options and the destination format, e.g png.
After this operation you will get a stagekey. You can download this staged file or attach it to a row. (Refer Files API)
For a full list of ImageMagick-V6 convert commands please visit:
Sample convertopts

Resize image to have specified area in pixels. Aspect ratio is preserved.
-resize "[email protected]"
Width and height emphatically given, original aspect ratio ignored.
-resize "100x100!"
Change dimensions only if both image dimensions exceed specified dimensions.
-resize "100x100<"
Change as per widthxheight but only if an image dimension exceeds a specified dimension.
-resize "100x100>"
Height and width both scaled by specified percentage.
-resize 50%
Maximum values of height and width given, aspect ratio preserved.
-resize 100x100
Height given, width automagically selected to preserve aspect ratio.
-resize x100
Minimum values of width and height given, aspect ratio preserved.
-resize "100x100^"
Width given, height automagically selected to preserve aspect ratio.
-resize 100
Height and width individually scaled by specified percentages. (Only one % symbol needed.)
-resize 100x50%
The url contains the destination format {destformat}, e.g, png, gif, jpg. You must "multipart" post the payload with the source image file, and a form-data field called "convertopts", which contains the convert cli options.