472,143 Members | 1,301 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Images TIFF in .aspx Web page

Hi....

Please help me with this case. I need to show an image .TIFF in a .aspx web
page. The web site is developer on Visual Studio 2005. The image control no
support this image format, that control i can use to show this format???

Thanks.
Oct 1 '07 #1
3 4116
Guillermo Jimenez wrote:
Hi....

Please help me with this case. I need to show an image .TIFF in a
.aspx web page. The web site is developer on Visual Studio 2005. The
image control no support this image format, that control i can use to
show this format???
There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended practice), but this is a classic asp newsgroup. ASP.Net is
a different technology from classic ASP. While you may be lucky enough
to find a dotnet-savvy person here who can answer your question, you
can eliminate the luck factor by posting your question to a newsgroup
where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
There are also forums at www.asp.net where you can find a lot of people
to help you.

I have no experience with TIFFs so I cannot answer this. I suspect a
standard html element might work but I won't guarantee it.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Oct 1 '07 #2
Gazing into my crystal ball I observed
=?Utf-8?B?R3VpbGxlcm1vIEppbWVuZXo=?=
<Gu**************@discussions.microsoft.comwriti ng in
news:FE**********************************@microsof t.com:
Hi....

Please help me with this case. I need to show an image .TIFF in a
.aspx web page. The web site is developer on Visual Studio 2005. The
image control no support this image format, that control i can use to
show this format???

Thanks.
Browsers can only show gif, jpg and png (every once in a while, an odd
one will show a bmp). You would have to convert the TIFF to one of
those formats. I don't know if there if that is something that .net can
do, but I doubt it.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Oct 2 '07 #3
"Adrienne Boswell" <ar****@yahoo.comwrote in message
news:Xn****************************@69.28.186.121. ..
Gazing into my crystal ball I observed
=?Utf-8?B?R3VpbGxlcm1vIEppbWVuZXo=?=
<Gu**************@discussions.microsoft.comwriti ng in
news:FE**********************************@microsof t.com:
Hi....

Please help me with this case. I need to show an image .TIFF in a
.aspx web page. The web site is developer on Visual Studio 2005. The
image control no support this image format, that control i can use to
show this format???

Thanks.

Browsers can only show gif, jpg and png (every once in a while, an odd
one will show a bmp). You would have to convert the TIFF to one of
those formats. I don't know if there if that is something that .net can
do, but I doubt it.
System.Drawing.Bitmap class can load a TIFF. It's save method can take an
image format parameter to specify the desired output encoding. So its
possible to simply save a JPEG or GIF directly to the Response.OutputStream.

Unfortunately both JPEG and GIF are lossy so PNG is best used if fidelity is
to be maintained. A problem with PNG is that for some reason can't be sent
directly to a stream. In which case a PNG file needs to be generated from
the Bitmap save method then the PNG file sent to the client.

--
Anthony Jones - MVP ASP/ASP.NET
Oct 3 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Vinay | last post: by
6 posts views Thread by Richard | last post: by
reply views Thread by Zeeway | last post: by
5 posts views Thread by Sameer Gupta | last post: by
3 posts views Thread by =?Utf-8?B?R3VpbGxlcm1vIEppbWVuZXo=?= | last post: by
1 post views Thread by a.mustaq | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.