Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure CDN convert images to webp

I looked over the following documentation from Azure (https://docs.azure.cn/en-us/cdn/cdn-image-processing) and am not sure if I am reading this correctly. My problem is that I am looking to serve images that are being requested from the cdn, which are stored in a blob storage, in webp format instead of jpeg/png etc., but have been unsuccessful.

Ideally I would like to add a query param such as ?format=webp, but this doesn't seem to be working. Does anybody know how I can convert my images on the fly from an azure cdn?

like image 591
Shawn Avatar asked Oct 14 '25 04:10

Shawn


1 Answers

Looks like this feature is only available for Azure China CDN. You can use other image CDN such as cloudnary/imgx. Unfortunately there is no Azure equivalent as AWS lambda @ Edge.

like image 50
Abhi Avatar answered Oct 18 '25 19:10

Abhi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!