473,807 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4194
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.publi c.dotnet.framew ork.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?R3VpbGxlcm1 vIEppbWVuZXo=?=
<Gu************ **@discussions. microsoft.comwr iting in
news:FE******** *************** ***********@mic rosoft.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.c omwrote in message
news:Xn******** *************** *****@69.28.186 .121...
Gazing into my crystal ball I observed
=?Utf-8?B?R3VpbGxlcm1 vIEppbWVuZXo=?=
<Gu************ **@discussions. microsoft.comwr iting in
news:FE******** *************** ***********@mic rosoft.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.Output Stream.

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2346
by: Vinay | last post by:
Hi All: I have a small application that stores images either in the database or as files (depending on the user preference). I'm in the process of providing a web interface to this application. 1. If the images are stored in the DB then, every an image is requested, it will need to be pulled out and a temp file created and then displayed? What is the best way to do this?
6
7858
by: Richard | last post by:
Hello, I have a multipage tiff file which I am trying to output to a web browser using Response.BinaryWrite. I am taking the tiff file, then looping for each page and saving it off to a jpg in a memory stream. The problem I'm having is when the page comes up, only the first image is shown. If I save each page off in a file I can see that each page is unique and it's not a problem with the stream, it seems to be a problem with...
0
1389
by: Eric | last post by:
I have this same problem, and I've *half-way* resolved it. It turns out that this is not exactly an IO problem; it's actually a security issue and maybe even an ASP.NET bug. Here is what I've done so far... 1. Learned from this post that there are problems with the FromFile method when using a UNC share as the source directory: http://tinyurl.com/8exos. 2. Adapted the code in the post to: '\\\
0
4808
by: Zeeway | last post by:
hi,everyone I have a question about merging images. I want to merge serval tiff images into one file using C#,that means the final file has multiple frames.My problem is that I want each frame in the final file is of single-strip,but when I want to merge serval images which has been of singe-strip,the final file my codes produced contains images which are all of multiple-strips. My codes is listed below: public static bool MergeTifs(ref...
5
15019
by: Sameer Gupta | last post by:
what are options for opening / handling tiff files in .Net framework ? which is the best library, namespace ? Please help Regards Sameer Gupta C# Designer & Developer Siemens UK
0
1803
by: wbsmith | last post by:
hello all, i am using python (2.5) with the PIL (latest release), and i am trying to read in these 3-d tiff images we have. basically, i am following some example code that iterates through the images in the 3-d tiff file like this: import Image
3
3447
by: =?Utf-8?B?R3VpbGxlcm1vIEppbWVuZXo=?= | last post by:
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.
1
2647
by: a.mustaq | last post by:
Hi All, In my application, I have to display tiff images stored on server. Please help me in acheaving this. With Regards, Mustaq Ahmed.A
2
4981
by: mndprasad | last post by:
hi all i am doing a project in java where i need to convert 10 jpeg images into a single tiff image..conversion of single jpeg image to single tiff is happening but embedding all the 10 jpeg images into a single tiff is not happening..i hav tried out with single image conversion.. My code is *********************** import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO;
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10112
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.