This page demonstrates various transparency and alpha channel effects to test PNG vs JPEG format differences.
This page will show how different image formats handle transparency and semi-transparent elements.
These samples show different levels of transparency against a checkerboard background:
This gradient transitions from fully transparent to fully opaque:
This example shows multiple transparent layers stacked on top of each other:
This section illustrates the difference between PNG (supports transparency) and JPEG (does not support transparency):
PNG format supports alpha channel transparency, making it ideal for images that need transparent or semi-transparent areas.
JPEG format does not support transparency. Transparent areas are typically replaced with a solid color (usually white) when converting to JPEG.
When testing the screenshot service with this page:
POST /v1.0/screenshot
{
"url": "http://localhost:8000/transparency",
"format": "png"
}
POST /v1.0/screenshot
{
"url": "http://localhost:8000/transparency",
"format": "jpeg"
}