I\'ve got some code that takes a png that is a greyscale image with transparency and attempts to create a new image that has a given background colour (looked up from a data
Did you save and compared the generated images on both side? This looks a bit like a 24bit/32bit color problem.
What happens if you use this constructor:
public Bitmap( int width, int height, PixelFormat format )
using (Bitmap newImage = new Bitmap(image.Width, image.Height, PixelFormat.Format32bppArgb))
As i read the remarks on MSDN:
Remarks
This constructor creates a Bitmap with a PixelFormat enumeration value of Format32bppArgb.
It shouldn't make any difference.