当前位置:网站首页>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);
}
}
边栏推荐
- Flask框架——项目可安装化
- 从技术全景到场景实战,透析「窄带高清」的演进突破
- MySQL database account management and optimization
- 【美丽天天秒】链动2+1模式开发
- China Hashpower Conference Ascension Kunpeng Ecological Forum was held; Kuaishou established an independent to B business department…
- 借助kubekey极速安装Kubernetes
- 荧光标记多肽FITC/AMC/FAM/Rhodamine/TAMRA/Cy3/Cy5/Cy7-Peptide
- select......for update 语句的功能是什么? 会锁表还是锁行?
- 基于ck+redash构建MySQL慢日志+审计日志展示平台
- 异常与智能指针
猜你喜欢
随机推荐
货比四家 version tb1.63
常见荧光染料修饰多种基团及其激发和 发射波长数据一览数据
openresty 高可用部署
es6新增-async函数(异步编程的最终解决方案)
Weekly recommended short video: In order to fill the gap of learning resources, the author specially wrote a book?
2022/08/02------Ugly number
pydev debugger: warning: trying to add breakpoint to file that does not exist: /tmp/xxx
NLP范式新变化:Prompt
LineSegmentTree线段树
动态打印菱形
15、学习MySQL NULL 值处理
Intelligent security contract - delegatecall (2)
sys文件系统
理想L9旗舰级的安全性有多强?守护一家人安全出行“底线”
flink-sql 客户端 可以设置并行度 吗?断开算子链
想要防止数据泄漏,如何选择国产浏览器?
一文搞懂│php 中的 DI 依赖注入
Oracle 脚本实现简单的审计功能
87.(cesium之家)cesium热力图(贴地形)
PHP base notes - NO. 1









