sejda-pdf / webp-imageio

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

Flush after writing image. #27

Open NathanSweet opened 2 years ago

NathanSweet commented 2 years ago

Other ImageIO writers do this, eg JPEGImageWriter. Without the flush, when using something like a javax.imageio.stream.MemoryCacheImageOutputStream, the cached data is never written to the underlying stream like it is with all other JRE writers.

hyorin commented 8 months ago

This is it! I need answer that why webp file has 0kb file size. It should be merged.