Color lowerColor = ImageBackColor(myImage);
imgArr.SetColorKey(lowerColor, lowerColor);
g.DrawImage(myImage, rect, 0, 0, 58, 95, GraphicsUnit.Pixel, imgArr);
imgArr = null;
private Color ImageBackColor(Image image)
{
return (new Bitmap(image)).GetPixel(0, 0);
} 回复 4# bxl131
不客气,互相学习!@
页:
[1]