当前位置:网站首页>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);
}
}
边栏推荐
猜你喜欢
![[Azure Event Hub] Create Event Hub Consume Client + Custom Event Position with Azure AD Authentication](/img/fe/db506853be08398f815f4e36beee76.png)
[Azure Event Hub] Create Event Hub Consume Client + Custom Event Position with Azure AD Authentication

Flask框架——项目可安装化

Higher mathematics - chapter ten infinite series - constant term series

Execution plan of mysql

多肽介导PEG磷脂——靶向功能材料之DSPE-PEG-RGD/TAT/NGR/APRPG
![[笔记]机器学习之前言介绍](/img/69/e2acd3efd5f513c9c32fca701b66c0.png)
[笔记]机器学习之前言介绍

学弟:我适不适合转行做软件测试?

MySQL 啥时候用表锁,啥时候用行锁?这些你都应该知道吧

Online monitoring of UPS power supply and operating environment in the computer room, the solution is here

基于PHP7.2+MySQL5.7的回收租凭系统
随机推荐
LyScript 内存交换与差异对比
借助kubekey极速安装Kubernetes
Gson 学习笔记
程序员如何分分钟搞垮一个项目?
Install porterLB
【牛客在线OJ】-字符逆序
rhel8.3 系统下修改有线网卡配置信息实现联网
Online monitoring of UPS power supply and operating environment in the computer room, the solution is here
这是Facebook母公司 关于元宇宙的80万亿美元豪赌
高等数学---第十章无穷级数---常数项级数
我们为何看好投资 DAO?
Execution plan of mysql
H.265网页播放器EasyPlayer获取视频流正常,但是播放出现黑屏是什么原因?
三丁基-巯基膦烷「tBuBrettPhos Pd(allyl)」OTf),1798782-17-8
货比四家 version tb1.63
Mock模拟数据,并发起get,post请求(保姆级教程,一定能成功)
EasyNTS上云网关断电重启后设备离线是什么原因?
架构基本概念和架构本质
[Azure Event Hub] Create Event Hub Consume Client + Custom Event Position with Azure AD Authentication
Selenium of reptiles