alexharris / ditherit-v2

178 stars 21 forks source link

WebP, AVIF, JPEG XL support #40

Open xplosionmind opened 1 month ago

xplosionmind commented 1 month ago

It would be great if both input and output could support other more efficient formats, too!

alexharris commented 1 month ago

Yep this would be good. Right now it looks like the method used to create a download, toDataURL, currently only supports jpg, png, and webp except for in Safari. Maybe there is a library that allows for other options.