API: Auto-convert an image for use in a browser

Prepares an image for use in a browser

If the original image is not a JPEG, PNG or WebP image, the image is converted to JPEG.

If the original image is a JPEG image with an EXIF rotation flag other than top-left, the image is losslessly rotated to remove the EXIF rotation flag.

Request
POST /process/auto-convert?input=0a6677...
input The input image ID.
Response
200 OK
{
  "format": "JPEG", 
  "height": 600, 
  "inputFormat": "PDF", 
  "inputRotation": "right-top", 
  "output": "a16bd2...", 
  "width": 800
}
inputFormat The format of the input image. This is present only if the image was converted to JPEG.
inputRotation The EXIF rotation of the input image. This is present only if the input image contains EXIF rotation information.
format The format of the output image.
width, height The size of the output image.
output The image which can safely be used in the browser. This may correspond to the input image ID.