Link Search Menu Expand Document

File formats

Convert images from HTML to jpg, png or webp.


File formats

The API supports jpg, png and webp. If no file extension is passed, you’ll get back a png by default. If you need a different file format, adjust the extension on the url.

Format Example
jpg https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e.jpg
png https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e.png
webp https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e.webp

Automatic next-gen format (WebP) - enabled for all customers

It’s recommend by Google to serve your images in next-gen formats (such as WebP).

  • Improves your pagespeed
  • Increases SEO

Our edge servers will detect the browser being used to download an image. If the browser supports WebP, the image will be served in WebP.

  • This is enabled for all paid customers.

Back to top

Built with extensive integration tests and serious care for developer happiness.
© 2018-2020 Code Happy, LLC.

Page last modified: Jul 13 2020 at 10:24 PM.

Edit this page on GitHub.