FastPipe
After many hours of trial and error, self-optimizing streams and such, I have finally found the fastest (?) and most efficient (?) way to copy an image from a given source to a given target.
There where several constraints that had to be as optimal as possible:
- Speed
- Memory consumption