Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 629 Bytes
description
Transparent backgrounds are supported by the PNG file format.

Transparent background

Include the following in your CSS when generating your image.

body { 
  background-color: transparent;
}

The API will render your image with a transparent background. Be sure to add .png to the end of your URL to render your image as a PNG.

https://hcti.io/v1/image/9bd2fa85-c6fc-4890-b90a-da63647ce323.png

{% hint style="info" %} Transparency is only supported by the PNG file format. Be sure to add .png to the end of your URL to use this feature. {% endhint %}