Converting TIFF to JPEG using .NET [closed]

给你一囗甜甜゛ 提交于 2019-12-12 21:31:46

问题


I need to convert a TIFF to JPEG using .NET.

I have already done this succesfully using Windows 7 with a simple Bitmap.Save(). But it seems that this doesn't work on Windows XP (Windows 7 has more complete support for TIFF images).

I saw that there is a .NET library called LibTiff.Net that works well with TIFF, but I didn't find any example code.

Any ideas? Any sample code to convert JPEG to TIFF?

Really thanks


回答1:


I assume that you want to convert TIFF to JPEG (as stated in title of the question) and not JPEG to TIFF (as stated in the question body)

Here is a sample that creates System.Drawing.Bitmap from a TIFF.

You can save the bitmap as a JPEG file.



来源:https://stackoverflow.com/questions/7430575/converting-tiff-to-jpeg-using-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!