Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very slow writing of simple 16/32-bit gray-scale TIFF images #72

Open
btbouwens opened this issue Jan 28, 2021 · 1 comment
Open

Very slow writing of simple 16/32-bit gray-scale TIFF images #72

btbouwens opened this issue Jan 28, 2021 · 1 comment

Comments

@btbouwens
Copy link

In TIFFImageWriter::writeTile there is an optimised section for simple images, but this is only effective for 8-bit images, while we want to write lots of 16- and 32-bit images.

btbouwens pushed a commit to btbouwens/jai-imageio-core that referenced this issue Jan 28, 2021
…e TIFF images

Send the DataBuffer to the TIFFCompressor, as that knows the stream
and therefore its byte order, so it can serialize it and then send it to
the original encode(..) method.
@btbouwens btbouwens mentioned this issue Jan 28, 2021
@btbouwens
Copy link
Author

With the latest change on the forked version I can write thousands of TIFF files per second.

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

No branches or pull requests

1 participant