How could I generate a System.Drawing.Image that contains the differences between the pixels of two other images?
Something similar to GitHub does, but written in C#
The algorithm that GiHub uses is implemented in javascript. There is a context-blender project that replicates Photoshop blend modes.
Do you know if is translated to C# or a similar algorithm that has the same quality level? I need to manage also transparent images (with alpha channel).
Here’s a quick and dirty implementation:
Notes:
LockBitsDisposablemethod is just a convenience, if you prefer you can use the standardLockBitsmethod (but don’t forget to unlock the bits when you’re done)