photon icon indicating copy to clipboard operation
photon copied to clipboard

Add support for webp image format

Open styfle opened this issue 4 years ago • 2 comments

It would be great for photon to support WebP image format now that most web browsers support it.

styfle avatar Oct 18 '20 23:10 styfle

Hi, currently the image crate that photon uses for encoding and decoding of images doesn't support saving images as webp (no encoding) but can decode them (open webp images).

https://github.com/image-rs/image/#supported-image-formats

daggy1234 avatar May 01 '22 11:05 daggy1234

It would seem webp encoding has been implemented in image create https://github.com/image-rs/image/commit/e9ccfcfc30950fa242957d881195bb495abaf649

mirzap avatar Sep 23 '22 07:09 mirzap

Very interested in this. Let us know when it works !

dtruffaut avatar Sep 30 '22 20:09 dtruffaut

Interested in this as well!

RaphaelBronsveld avatar Nov 15 '22 14:11 RaphaelBronsveld

Okey! I'll start testing webp and see how it performs.

daggy1234 avatar Nov 15 '22 21:11 daggy1234

Hi, is there any update on webp support?

aliflux-omo avatar Jan 15 '23 23:01 aliflux-omo

Hope webp can be supported

https://github.com/image-rs/image/blob/master/CHANGES.md Version 0.24.4 New Features:

Encoding for webp is now available with the native library. This needs to be activate explicitly with the web-encoder feature.

ccbikai avatar Dec 18 '23 05:12 ccbikai

Looks like #164 resolves webp encoding

yangm2 avatar Feb 12 '24 04:02 yangm2