Operations - Introduction

Image Operations / Introduction

The Optidash Image API delivers blazingly-fast image transformations, achieving unparalleled image quality. Our proprietary, GPU-optimized rendering pipeline operates on dedicated, bare-metal hardware to ensure top performance. With this API, you can resize, crop, add watermarks, and masks to your images, as well as enhance them automatically with intelligent filters.

By default, all processed images undergo our Smart Image Optimization algorithms, making them ready for immediate publication.

Quick Example

Imagine you want to process an image using the Image Upload method, focusing on cropping a portion of the image to highlight a face, adding padding, resizing this fragment to a smaller dimension, enhancing the image for a more vibrant appearance, and finally applying an elliptical mask on a transparent background. Optidash allows for the seamless integration of multiple operations and filters in a single request, utilizing for example a highly optimized PNG as the output format.

An example JSON request might look like this:

{
    "crop": {
        "mode": "face",
        "padding": 50
    },
    "resize": {
        "mode": "auto",
        "width": 150,
        "height": 150
    },
    "auto": {
        "enhance": true
    },
    "mask": {
        "shape": "ellipse"
    },
    "output": {
        "format": "png"
    },
    "optimize": {
        "compression": "high"
    }
}