ImageSharp
ImageSharp copied to clipboard
Use gif to converted have animation webp, but this converted webp image can not import What's app software
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have verified that I am running the latest version of ImageSharp
- [X] I have verified if the problem exist in both
DEBUG
andRELEASE
mode - [X] I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
3.1.5
Other ImageSharp packages and versions
3.1.5
Environment (Operating system, version and so on)
MacOS
.NET Framework version
.NET8
Description
I am using a GIF image to convert it into an animated WebP, but the resulting WebP image cannot be imported into WhatsApp. It seems to be filtered or rejected by WhatsApp. However, when I use the Magick library to perform the same conversion, the WebP file is successfully imported into WhatsApp.
Here is the code I am using to convert the GIF to WebP:
var gifImage = Image.Load(image);
gifImage.SaveAsWebp(Path.Combine(AppContext.BaseDirectory, "testImageSharp.webp"));
I would like to know if there is a specific issue with my code or any known differences between the encoding methods that could be causing this problem.
Steps to Reproduce
var gifImage = Image.Load(image);
gifImage.SaveAsWebp(Path.Combine(AppContext.BaseDirectory, "testImageSharp.webp"));
Images
No response