Image Conversion

ImageBoss also supports image conversion on the fly.


If you want to convert the output image, use the format option. Just pass the option on the URL as explained below.



format accepts auto, jpg (or jpeg), png, webp, avif, tiff, gif, and mp4 (for animated output). See Supported formats below for the full list and input/output details.

Example

https://img.imageboss.me /mywebsite-images /width /700 /format:png /examples/02.jpg


This will convert your jpg image to png.



Supported formats

ImageBoss can load and process a wide range of input formats, and you can request specific output formats via the format option.

Input formats

These formats can be loaded and processed (resize, filters, etc.):

  • JPEG
  • PNG
  • WebP
  • GIF (including animated)
  • AVIF
  • HEIF (processed and output as AVIF)
  • TIFF
  • SVG (rasterized; output is PNG by default)
  • PDF (first page rasterized; output is PNG)
  • BMP (output as PNG)

Output formats

You can request these via the format option:

  • JPEG — use jpg or jpeg
  • PNG
  • WebP
  • TIFF
  • AVIF
  • GIF
  • MP4 — for animated output (e.g. animated GIFs converted to video)

Use format:auto to let ImageBoss choose the best format for the client (e.g. WebP or AVIF when supported).



If you want to know more about WebP/AVIF and how to use it properly check out Image Compression.