Skip to content

Add support for WebP image format #73

Description

@eltos

For example, you could use the SkiaSharp.Views.Desktop.Common package like this:

using var skImage = image.ToSKImage();
using var skData = skImage.Encode(SkiaSharp.SKEncodedImageFormat.Webp, 90);
using var file = File.OpenWrite(filename);
skData.SaveTo(file);

See https://stackoverflow.com/a/76027832

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions