- IMG.LY Support Desk
- Technical FAQ
- Technical - PhotoEditor SDK
What is the default background color for transparent images in the PhotoEditor SDK Web, and how can I change it?
The default background color for transparent images in the PhotoEditor SDK is black, which can be changed using the backgroundColor configuration parameter. You can change the default background color by specifying a different color value for this parameter. To set the background color to white, for example, set the backgroundColor parameter to [255, 255, 255, 1] (white). Keep in mind that we only accept RGBA values here.
For more information, please visit our documentation here.