.net - C# how to change bitmap image color and apply anti-aliasing -
i working on flowchart making application , involves changing color of images transparency(png). i've been searching hours workarounds , it's either it's not i'm looking or can't make work. first, let me show codes , how it. removed parts of code unrelated question. this class "create" flowchart symbols. inherited label class because need text centered on symbols. use images in .png format located inside resources folder , change color according user wants. namespace pf2 { public class terminal : label { public void createterminal(int x) { this.width = 250; this.height = 100; this.name = "terminal" + x; this.autosize = false; bitmap resized = new bitmap(properties.resources.shapeterminal, new size(this.width, this.height)); this.image = globals.changecolor(resized, color.yellow); this.text =