Change background colour of an anti-aliased image using C# with anti-aliasing
问题 I have an image where I need to change the background colour (E.g. changing the background of the example image below to blue). However, the image is anti-aliased so I cannot simply do a replace of the background colour with a different colour. One way I have tried is creating a second image that is just the background and changing the colour of that and merging the two images into one, however this does not work as the border between the two images is fuzzy. Is there any way to do this, or