Skip to content

Add the possibility to inject a ITiffPixelBufferReader to optimize large tile based tiffs#18

Open
donin1129 wants to merge 3 commits into
yigolden-oss:mainfrom
donin1129:main
Open

Add the possibility to inject a ITiffPixelBufferReader to optimize large tile based tiffs#18
donin1129 wants to merge 3 commits into
yigolden-oss:mainfrom
donin1129:main

Conversation

@donin1129

Copy link
Copy Markdown

I encountered a problem encoding a very large tiled image. First there is a performance issue forcing the usage of MemoryBuffer. Second, the MemoryBuffer has max array size that is System.Int32.MaxValue.

In this commit, I added the following:

  • Keep ITiffPixelBufferReader as abstract as possible until necessary for a cast.
  • Allow injection of IPartialBufferProvider.
  • Provide test / example how to use IPartialBufferProvider to optimize the buffer preparation speed.
  • All tests run green.

ztd0ng added 3 commits March 11, 2024 17:26
…or a cast.

Allow injection of IPartialBufferProvider.
Provide test / example how to use IPartialBufferProvider to optimize the buffer preparation speed.
All tests run green.
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.

2 participants