Using Webp in Web Commands (ImageSharp.Web) #196
-
It seems like webp support is right around the corner and I wanted to test some of it along with an Umbraco 9 build. When I try to issue the following command, the format request is ignored and I receive the original image:
So I assume that webp it's not turned on by default and I have to adjust the configuration for Would someone validate my assumption and explain to me how I would go about registering / updating / correct configuring ImageSharp.Web? I'll gladly donate something for your time. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Webp is turned on by default, but its not yet released with a stable version (1.0.4 does not include webp yet). The first stable version of ImageSharp with webp will be version 2.0.0, which should not be far away. If you really want to test its now, you will have to use the ImageSharp version from our nightly MyGet feed, version |
Beta Was this translation helpful? Give feedback.
Webp is turned on by default, but its not yet released with a stable version (1.0.4 does not include webp yet). The first stable version of ImageSharp with webp will be version 2.0.0, which should not be far away.
If you really want to test its now, you will have to use the ImageSharp version from our nightly MyGet feed, version
2.0.0-alpha.0.142
for example. This needs to be added to theImageSharp.Web
instead of the1.0.4
. But note that there are a few breaking changes with 2.0.0: For example the JpegEncoder optionSubsample
has changed toColorType
. You will need to change that in