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? |
Answered by
JimBobSquarePants
Apr 14, 2021
Replies: 3 comments 8 replies
|
I have the same problem |
0 replies
|
You need to implement your own See the reference codec from our ImageSharp unit tests for examples. |
0 replies
Answer selected by
JimBobSquarePants
|
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! |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to implement your own
IImageDecoderandIImageEncoderinstances 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