我想在具有叠加混合效果的图像上写文字。不是简单的透明度,而是将图像的像素与文本的颜色混合。
我有这个功能可以在图像上写入文本,但这仅使用简单的透明度。
grPhoto.DrawString(strText, //string of text
crFont, //font
semiTransBrush, //Brush
new PointF(xCenterOfImg,yPosFromBottom), //Position
StrFormat); //Text alignment