如何使用C#.net或任何在Windows应用程序中显示Tiff图像 [英] How to display Tiff images in Windows Application using C#.net or any
问题描述
Hello EveryOne,
希望你们一切顺利,享受周末。
我想在C#windows应用程序中显示.tiff图像。
你可以帮助我吗。
我尝试使用Picturebox但是图像看起来很模糊,没有滚动。
然后我尝试了Alternate Tiff第三方控制,但我的经理不想使用
第三方控制。我尝试了很多但却无法得出结果。
现在我陷入困境一个糟糕的情况。
我希望能为你们提供有利的帮助,因为这里没有老人
协助我。
等待你的回复,
============== =======
Kishor
=========================
Hello EveryOne,
Hope you all are doing well and enjoying the weekend.
I want to display .tiff images in C# windows application.
Could you please assist me in this.
I tried with Picturebox but images appear blur with no scrolling.
Then i Tried Alternate Tiff third party control but my manager does not want to use
Third party control.I tried a lot but could''nt come up with result.
Now i am stuck in a terrible situation.
I am hoping for a favourable assistance for you guys since there is no senior person here to
assist me.
Awaiting for your reply,
=====================
Kishor
=========================
推荐答案
我刚尝试过:我拿了一个现有的JPG图像,加载到PaintShopPro ,将它保存为TIFF文件。
然后我在表单中添加了一个图片框,在表单构造函数中我加载了文件:
I just tried it: I took an existing JPG Image, loading into PaintShopPro, saved it as a TIFF file.
Then I added a picture box to a form, and in the form constructor I loaded the file:
Image i = Image.FromFile(@"D:\Temp\mypic.tiff");
pictureBox1.Image = i;
它没有模糊,或者质量下降。
所以,你在做什么这与我的做法不同?
仅供参考,我使用的图像是:
3648x2736,180dpi,24位色,LZW压缩,RU = 2,PI = RGB,15.2Mbyte
It was not blurred, or otherwise degraded in quality.
So, what are you doing that is different to what I did?
FYI, the image I used was:
3648x2736, 180dpi, 24 bit colour, LZW compression, RU=2, PI=RGB, 15.2Mbyte
这篇关于如何使用C#.net或任何在Windows应用程序中显示Tiff图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!