API • Introduction

Our rendering API is a querystring-based API. The querystring lies at the center of OMGIMG's capabilities.

By adding the below parameters to your querystring, you can resize, crop, and further enhance your images on the fly. This means that you don't need to pre-thumbnail any of your images in your library.

You can even be quite dynamic about the sizes of your images based on the current viewport or screen size, and render an image at the perfect size depending on your device.

Below are the parameters that are part of our API.

Size

w
image width
h
image height
fit
resize fit mode
crop
crop mode

Adjustment

bri
brightness

Format

fm
format
q
output quality
orig
return original image
lossless
lossless compression

Stylize

grey
greyscale

PDF

pg
PDF page number
OMGIMG
©2020-2022
Still have some questions?
We do whatever it takes to make sure our customer service is the best in the business. Please email us and we'll help you out as soon as we can. We are in the GMT+2 time zone.
Contact us on: hello@omgimg.net
Please read our privacy policy, our terms of service here.