C#将.Png转换为.Jpeg [英] c# convert .Png to .Jpeg

查看:126
本文介绍了C#将.Png转换为.Jpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个Word文档,其中包含一些.png格式的图像.
如何将格式从.png更改为.Jpeg.
请指教.

谢谢.

Hi,

I have a word document contains few images that is in .png format.
How do i change the format from .png to .Jpeg.
Please advice.

Thanks.

推荐答案



从MSDN看到此链接,如何通过将jpg保存到磁盘来做到这一点:
http://msdn.microsoft.com/en-us/library/twss4wb0%28v = vs.90%29.aspx [ ^ ]

或此链接提供了一种解决方案,可以将内存中的png转换为jpg而不将其缓冲到硬盘上:
http://codekicker.de/fragen/.net-Convert- png-to-jpg-csharp-image-convert-jpg [
Hi,

see this link from the MSDN how to do it by saving the jpg to the disk:
http://msdn.microsoft.com/en-us/library/twss4wb0%28v=vs.90%29.aspx[^]

or this link which has a solution for converting the png to jpg in memory without buffering it to the hard disk:
http://codekicker.de/fragen/.net-Convert-png-to-jpg-csharp-image-convert-jpg[^]


^ ]


这篇关于C#将.Png转换为.Jpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆