Render transparent PNGs without adding special background CSS
How it works
Set transparent_background to true on a create image request to omit the page background from the rendered image. The parameter works with both HTML/CSS images and URL screenshots.
When the parameter is omitted, the existing CSS-based transparent background method continues to work. Set it explicitly to false when you want an opaque background even if the request CSS sets the body background to transparent.
PNG Format Required
Transparency is only supported in PNG format. JPG and WebP images will render with a white background.