実行時に生成するビットマップイメージがあります。この方法で実行時に生成されて返されるため、ローカルURLはありません。この画像を実行時にcshtmlファイルまたはhtmlファイルに追加する方法はありますか?
public Bitmap GetBarcodeImage(string inputString)
{
Bitmap bitmap = new Bitmap(200,100);
Graphics graphics = Graphics.FromImage(bitmap);
graphics.Clear(Color.White);
graphics.DrawString(inputString, new Font("Free 3 of 9",60,FontStyle.Regular), Brushes.Black, new PointF(0, 0));
return bitmap;
}