Hello Mat

 找回密码
 立即注册
查看: 7251|回复: 0

bitmap保存为图像

[复制链接]

1370

主题

1612

帖子

10

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22901
发表于 2022-6-28 22:55:27 | 显示全部楼层 |阅读模式
bitmap保存为图像
  1.             Bitmap bitmap = MainVideoPlayer.GetCurrentVideoFrame();
  2.             string path = @"D:\USBcapture\1.bmp";
  3.             bitmap.Save(path, System.Drawing.Imaging.ImageFormat.Bmp);
复制代码





算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2026-10-3 00:12 , Processed in 0.158136 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表