unrealt3n
unrealt3n

Reputation: 57

Package to convert image to webp in DART

I want to find a dart package that can convert an image format to webp. Since i want to run it on Isolate i can only use dart package.

I have tried packages like FlutterImageCompress which can't run on isolate, image this can only read webp.

Can someone help me to find a way to do this?

Upvotes: 0

Views: 58

Answers (1)

Hossein Yousefi
Hossein Yousefi

Reputation: 1031

This is an open issue for package:image`. I'm not sure if any package already supports encoding webp on pub.

You could use FFIgen to generate bindings for https://github.com/webmproject/libwebp yourself and use that.

Upvotes: 1

Related Questions