sejda-pdf / webp-imageio

Java ImageIO WebP support
Apache License 2.0
198 stars 74 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 4 months ago

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