C# HEIC转换为JPEG

上传者: 35175686 | 上传时间: 2022-07-22 21:20:38 | 文件大小: 19.32MB | 文件类型: RAR
自从iOS11以后,苹果手机默认的照片格式为HEIC,该格式上传至服务器后,不能被其他应用使用,包括windows目前都无法打开。所以在服务端需要有自动处理的工具来将HEIC处理为JPG格式,下面是一个小示例,大家可以根据示例来部署FileHandler,实现文件上传后的自动转换。
先提供一个工具 使用C# 将HEIC转换为JPEG得源码分享

文件下载

资源详情

[{"title":"( 47 个子文件 19.32MB ) C# HEIC转换为JPEG","children":[{"title":"HEICToJPG.sln <span style='color:#111;'> 869B </span>","children":null,"spread":false},{"title":"HEICToJPG","children":[{"title":"bin","children":[{"title":"Release","children":[{"title":"HEICToJPG.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"HEICToJPG.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"HUD.dll <span style='color:#111;'> 564.00KB </span>","children":null,"spread":false},{"title":"HEICToJPG.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"opencv_ffmpeg330_64.dll <span style='color:#111;'> 16.98MB </span>","children":null,"spread":false},{"title":"HEICToJPG.exe <span style='color:#111;'> 456.00KB </span>","children":null,"spread":false},{"title":"temp_bitstream.hevc <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"MainWindowSize <span style='color:#111;'> 9B </span>","children":null,"spread":false},{"title":"opencv_world330.dll <span style='color:#111;'> 5.69MB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"HEICToJPG.vshost.exe <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"HEICToJPG.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"HUD.dll <span style='color:#111;'> 564.00KB </span>","children":null,"spread":false},{"title":"HEICToJPG.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"opencv_ffmpeg330_64.dll <span style='color:#111;'> 16.98MB </span>","children":null,"spread":false},{"title":"HEICToJPG.exe <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"temp_bitstream.hevc <span style='color:#111;'> 1.21MB </span>","children":null,"spread":false},{"title":"MainWindowSize <span style='color:#111;'> 9B </span>","children":null,"spread":false},{"title":"opencv_world330.dll <span style='color:#111;'> 5.69MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"player.ico <span style='color:#111;'> 221.00KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Release","children":[{"title":"HEICToJPG.csproj.FileListAbsolute.txt <span style='color:#111;'> 554B </span>","children":null,"spread":false},{"title":"HEICToJPG.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"HEICToJPG.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"HEICToJPG.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"HEICToJPG.exe <span style='color:#111;'> 456.00KB </span>","children":null,"spread":false},{"title":"HEICToJPG.Form1.resources <span style='color:#111;'> 221.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"HEICToJPG.csproj.FileListAbsolute.txt <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"HEICToJPG.pdb <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false},{"title":"HEICToJPG.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"HEICToJPG.csproj.GenerateResource.Cache <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"HEICToJPG.exe <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"HEICToJPG.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"invoke_dll.cs <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"HEICToJPG.csproj <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 337.47KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"HEICToJPG.suo <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明