Encode transformationCDN delivery

format

Encode the output as JPEG, PNG, WebP or AVIF. The filename extension must agree with the selected format.

Delivery URL

This example assumes a published JPEG with automatic WebP output turned off. Replace the workspace placeholder and asset ID with your own.

https://cdn.vyso.io/<your_workspace>/transform/format:type=webp/a1b2c3d4e5f6g7h8i9j0k1l2.webp

Parameters

Parameters for format
ParameterTypeRequiredDescription
typestringYesAccepted values: jpg, jpeg, png, webp, avif. Editor default: webp.

Examples

Use the same published URL in a request or an image element.

curl --fail --output "output.webp" "https://cdn.vyso.io/<your_workspace>/transform/format:type=webp/a1b2c3d4e5f6g7h8i9j0k1l2.webp"

Every example requests the same CDN URL. Use the form that fits the application you are integrating.

Delivery behavior

Delivery orients the image before applying edits. The output extension must match the resulting format. Browsers revalidate public images, and edge caching depends on the workspace deployment’s purge configuration.

Back to all transformations