Adjust transformationCDN delivery
flatten
Apply the flatten transformation to the delivered image.
Delivery URL
Use the Vyso CDN URL to transform and deliver this asset. Generated variants can be cached for subsequent requests.
https://cdn.vyso.io/flatten:color=%23ffffff/ASSET_ID.jpgParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| color | string | Yes | A supported CSS color name, hex value, or RGB/RGBA color.Default: #ffffff. |
Examples
The same transformation, shown through the canonical CDN delivery integration.
curl -i "https://cdn.vyso.io/flatten:color=%23ffffff/ASSET_ID.jpg"Every example requests the same CDN URL. Use the form that fits the application you are integrating.
Delivery behavior
The CDN applies the requested operation to the source asset and delivers the generated representation. Repeated requests can reuse the cached variant at the edge.