Sorry about the MemoryStream confusion :) You wrote that you read the image from a Stream and I read MemoryStream.
The number 4102 is really close the the size we use for string buffers which is 4096 but that still leaves 6 bytes. You could send me your code but I am not sure if I will be able to track down the issue with that. Contact me through CodePlex and we can continue the conversation there.
The number 4102 is really close the the size we use for string buffers which is 4096 but that still leaves 6 bytes. You could send me your code but I am not sure if I will be able to track down the issue with that. Contact me through CodePlex and we can continue the conversation there.