 |
| ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 21st, 2004, 05:52 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
tiff files display in asp.net
please can anyone help me in displaying .tiff image files with asp.net pages.Thank you in advance for your helping!
|
|

September 21st, 2004, 01:25 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hey,
Your issue may be more browser based, in supporting the files. Are you using an <img> tag to load them, or the server control?
Brian
|
|

September 22nd, 2004, 03:44 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
I am using a ImageButton WebServer Control!But it does not have support for .tiff files. Do I have to add any specific library???
|
|

September 22nd, 2004, 07:29 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
What browser are you viewing it in?
|
|

September 23rd, 2004, 06:47 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
internet explorer
|
|

September 26th, 2004, 04:06 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
A TIFF is a very inefficient image format. It's not much different than a bitmap. There is no compression on it. You should concider using a more accepted image format for web application such as a GIF, JPG or PNG.
|
|

September 28th, 2004, 06:37 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
its nice from you to tell me that .tiff files are inappropriate.But this files came from fax(2bit .tiff files) and I dont have to convert these files to bitmap because bitmap is rather large in size. And you are wrong when you say .tiff files dont have compression.They do have LZW compression.
Still is anyone who can answer my question about displaying .tiff files with asp.NET
thanks
|
|

September 28th, 2004, 06:58 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hey,
I don't see any reason why it wouldn't work... could you post any code?
Brian
|
|

September 28th, 2004, 01:21 PM
|
 |
Friend of Wrox
|
|
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Ok. Perhaps there is compression on a TIFF. The ones I've seen haven't been very small so I figured there wasn't or that it isn't very good.
The compression issue aside, displaying a TIFF in ASP.NET is no different than displaying any other format. In the end, it comes down to what the client supports. If you are having troubles getting a TIFF to display in your browser, than the problem is probably that your browser doesn't support it. So it has nothing to do with ASP.NET. You'll need to look into the browser problem.
|
|
 |