rkalla / imgscalr

Simple Java image-scaling library implementing Chris Campbell's incremental scaling algorithm as well as Java2D's "best-practices" image-scaling techniques.
Apache License 2.0
1.23k stars 244 forks source link

WebP support #114

Open mufumbo opened 9 years ago

mufumbo commented 9 years ago

Does anyone knows if there's a way to enable WebP encoding somehow?

ghost commented 9 years ago

Answer looks like YES - https://bitbucket.org/luciad/webp-imageio

imgscalr only operates on raw, unencoded image data (in the form of a BufferedImage instance) -- image format support is handled at the ImageIO encoder/decoder layer - that link above registers new encoders/decoders that handle the format to the ImageIO library so when you do read/write operations it will give you back a BufferedImage that you can use imgscalr on.

Hope that helps!


Riyad http://thebuzzmedia.com

On Tue, Jul 14, 2015 at 9:32 PM, Rafael Sanches notifications@github.com wrote:

Does anyone knows if there's a way to enable WebP encoding somehow?

— Reply to this email directly or view it on GitHub https://github.com/thebuzzmedia/imgscalr/issues/114.

rmuller commented 8 years ago

I recommend to look at https://bitbucket.org/luciad/webp-imageio

n2o commented 2 years ago

The repository webp-imageio is not available, and the forks don't work either... Seems like we need a differekt solution :-)