Convert to webp using imagick #156
-
How to add a new format? I use imagick which converts my format to webp + creates compression.
How to execute this code to save itself as cache? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
I have the same problem |
Beta Was this translation helpful? Give feedback.
-
You need to implement your own See the reference codec from our ImageSharp unit tests for examples. |
Beta Was this translation helpful? Give feedback.
-
May I have more details or some example of how to register this in asp.net? I'm not that experienced on asp.net, thank you so much! |
Beta Was this translation helpful? Give feedback.
You need to implement your own
IImageDecoder
andIImageEncoder
instances and register them against the configuration.See the reference codec from our ImageSharp unit tests for examples.
https://github.com/SixLabors/ImageSharp/tree/dc0982f1864b0c41fcc1a79853b3d16746906835/tests/ImageSharp.Tests/TestUtilities/ReferenceCodecs