sejda-pdf / webp-imageio

Java ImageIO WebP support
Apache License 2.0
198 stars 74 forks source link

zero length file written? #37

Open i-make-robots opened 1 month ago

i-make-robots commented 1 month 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 1 month ago

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