我想添加到图片黑匣子。怎么做?
using (var image = Image.FromFile(imagePath))
{
using (var newImage = ScaleImage(image, 300, 400))
{
int width = newImage.Size.Width;
int height = newImage.Size.Height;
Graphics DrawingSurface = Graphics.FromImage(newImage);
//graphics.DrawRectangle(); ????
newImage.Save(imagePathDuzy);
}
}