How to create a bitmap in memory and set compositing mode in C#