Skip to content

Conversation

@donin1129
Copy link

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