Click here to Skip to main content
12,897,360 members (54,817 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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,
Posted 22-Feb-13 5:07am
Marcus Kramer 22-Feb-13 11:30am
If your picture appeared "blurry", it could just be that you were trying to display the image at a size substantially larger than the image file is. ie. If your image only has 32x32 pixels and you try to show it at 128x128, it will be blurry because your program can't magically create data where there isn't any.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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;
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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100