Hi, thanks for this great tool :)
However there is a bug that is causing me some problems.
In AddImage(object o) there is a call to IsSameFile(), this function closes the input streams after comparison so the input stream will be closed giving an
ObjectDisposedException later (when trying to read from the input stream).
This happens if I add two (or more) images from a stream to the same document (it works for the first picture because the IsSameFile function is not called then).
Also, you should consider using the FileAccess.Read parameter when opening files as streams (for reading) to avoid some potential locked file exceptions.
Hope this is useful, thanks again...