当前位置:网站首页>C#将位图旋转90度
C#将位图旋转90度
2022-08-03 18:27:00 【tonysh_zds】
private void RotateAndSaveImage(String input, String output)
{
//create an object that we can use to examine an image file
using (Image img = Image.FromFile(input))
{
//rotate the picture by 90 degrees and re-save the picture as a Jpeg
img.RotateFlip(RotateFlipType.Rotate90FlipNone);
img.Save(output, System.Drawing.Imaging.ImageFormat.Jpeg);
}
}
边栏推荐
猜你喜欢
随机推荐
rhel8.3 系统下修改有线网卡配置信息实现联网
Selenium of reptiles
技术干货|如何将 Pulsar 数据快速且无缝接入 Apache Doris
基于ck+redash构建MySQL慢日志+审计日志展示平台
Arduino实验三:继电器实验
MD5是对称加密还是非对称加密,有什么优缺点
细胞不可渗透的荧光探针 锌离子荧光探针Zinquin 151606-29-0
Higher mathematics - chapter ten infinite series - constant term series
USD 能统一元宇宙吗?
CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-E
InnoDB 中不同SQL语句设置的锁
一文搞懂│php 中的 DI 依赖注入
EasyNTS上云网关断电重启后设备离线是什么原因?
dd命令:用于读取、转换并输出数据
LineSegmentTree线段树
Shell:循环语句
2022/08/02------丑数
学弟:我适不适合转行做软件测试?
OSError: [WinError 123] 文件名、目录名或卷标语法不正确
flink-sql 客户端,咋回事 我show tables 报错









