sejda-pdf / webp-imageio

Java ImageIO WebP support
Apache License 2.0
212 stars 80 forks source link

zero length file written? #37

Open i-make-robots opened 6 months ago

i-make-robots commented 6 months ago

Hello! Thank you for this library.

I have a system for reading/writing ImageIO supported formats, already tested with png, tif, bmp, jpg, pio, etc. Added org.sejda.imageio:webp-imageio:0.1.6 and reading webp files OK. When I try to write out

ImageIO.write(img, "webp", outputStream);

I get a zero length file. No error is generated. No exception thrown. Any ideas?

i-make-robots commented 6 months ago

I found the PR that fixes it: https://github.com/sejda-pdf/webp-imageio/pull/27 Thanks!