Skip to content

Flush after writing image.#27

Open
NathanSweet wants to merge 1 commit into
sejda-pdf:masterfrom
NathanSweet:master
Open

Flush after writing image.#27
NathanSweet wants to merge 1 commit into
sejda-pdf:masterfrom
NathanSweet:master

Conversation

@NathanSweet
Copy link
Copy Markdown

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.

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.
joostoudeman pushed a commit to joostoudeman/webp-imageio that referenced this pull request Jun 16, 2023
@hyorin
Copy link
Copy Markdown

hyorin commented Mar 5, 2024

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

@Husted-1
Copy link
Copy Markdown

Husted-1 commented Jul 9, 2025

Why haven't this pull request been merged? Could someone please do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants