- Added two new functions (minus simplicity overloads) to ImageLockBox to allow for SUPER FAST DATA TRANSITION!!! I found that if you read/write the entire stream, it is incredibly quicker. Here's an example. Old code:
- Added two new functions (minus simplicity overloads) to ImageLockBox to allow for SUPER FAST DATA TRANSITION!!! I found that if you read/write the entire stream, it is incredibly quicker. Here's an example. Old code:

_backBuffer.CopyFromImage(_backup);

New Code:

using (var box = _backBuffer.GetImageData())
    using (var box2 = _backup.GetImageData())
        box2.Write(box.ToArray());

I used the function names from streams, so hopefully that's okay.

git-svn-id: 64cc320d9ecd7aad470f8b18be342a8e58536f88@345 a61f9e97-bd4c-0410-8c65-85b29eaa70ff

Tape-Worm/Gorgon