Which Picsart APIs do not conform to the default JPEG output format?

All Picsart APIs return an image in the JPEG format by default except the following two APIs
  • /removebg which returns a file in PNG format
  • /vectorizer which returns a file in SVG format
The /vectorizer API is meant to output an .svg file only and therefore there isn't an option of choosing a different format when using this API. 

In the case of /removebg API, the JPEG format does not allow for transparent backgrounds, which is why the output defaults to the PNG format. This will therefore always lead to a dark background when any further API calls are made on the .png file.
 
If you choose to work with the PNG file but would like to have a white background when further transformations are applied to the image, you can set the bg_color to #FFFFFF or white

Was this article helpful?

Looking for more info on something specific?

Can't find an answer to your question?

We're here to help!
Our support team is ready

Leave us a message

Report an issue

Need help fast?
1) copy the error code   2) get the correlation id

Submit API issue