How to preserve the transparent background?

Uploaded an image without the background but it came out with black one?

You uploaded an image with transparent background and it came it with a black background? It's probably because of the specified output format JPG. To preserve the transparent background you need to make sure in the API parameters the output format is set to PNG.

Make sure to save your image with the PNG format to preserve the background transparency.

Was this article helpful?