We help IT Professionals succeed at work.

How to display a Multi-Page TIF Image

dbirdman
dbirdman asked
on
Medium Priority
488 Views
Last Modified: 2008-02-01
We have been tasked with re-writing a user-defined MS Access Application as a Browser-Based ASP App.  The User scans all documents as a single or multiple page TIF file, then stores it in the Access Database, with a link to the image on the individual records. A portion of the Requirements states that they must retain the ability to retrieve, at will, these TIF image files.  I have so far been unsuccessful in finding a suitable method to handle this over the Web.  I can handle the storage and retrieval, though am looking for a way to display the images through a browser.  These users will have image display software on their desktop, and I am not opposed to using it to view the images if that is an option.  

Any assistance would be greatly appreciated.
Comment
Watch Question

Commented:
Have you reied to show it with response.binarywrite?
I heard access has a little problem with the way it keeps the binary file in database.
But it is worth it to try it
Connect to access run the query get the binary data and send it to browser with response.binarywrite
before that set the mimeformat
I am not sure what kindof mime format is good for tif for JPG I am using
       Response.ContentType = "image/jpeg"
       Response.binarywrite body
Hoepfullt I got got what you mean by this question.
Let em know if I am not on the right track

Author

Commented:
Thanks for the comment.  I should probably expand a little: The images themselves will either be stored in a file directory, or SQL Server 7.0 Database, and I have successfully saved images to and retrieved from the database using ADO.  I looked into converting to different formats, like JPG or BMP, though these formats cannot handle multiple pages, which is the main difference with the TIF files.  For example, you can have one TIF file with 15 separately scanned pages within it.  Displaying the image with all pages in tact is where my problem lies.

Thanks again.

Author

Commented:
Thanks for the comment.  I should probably expand a little: The images themselves will either be stored in a file directory, or SQL Server 7.0 Database, and I have successfully saved images to and retrieved from the database using ADO.  I looked into converting to different formats, like JPG or BMP, though these formats cannot handle multiple pages, which is the main difference with the TIF files.  For example, you can have one TIF file with 15 separately scanned pages within it.  Displaying the image with all pages in tact is where my problem lies.

Thanks again.
Commented:
dbirdman,

Try this component to convert:

http://www.dastrup.com/html/dimage.asp

Regards,
Wee Siong

Commented:
Make them PDFs instead of TIF. Then you'll have no problems at all -- most people have the Acrobat Reader installed, and if they do PDFs open in the browser.

If they don't, they should install it -- it's a free download and lots of places use PDF.

The images will look fine, the user can view/print/zoom/save.

Author

Commented:
I apologize for not responding sooner.  weesiong, I checked out the link you listed and sent them some questions.  While they answered right away, it only looks at the first image of a TIFF file.  webwoman, the pdf is a good idea, though we are going for an extremely thin client, and a requirement of an Acrobat Reader will probably not go over very well.  I am looking into splitting out the TIFF file into separate images, then convert them into JPEG files.

Although neither of you completely answered the question, I appreciate your input and want to give points to both of you.

weesiong - don't do anything.  I'll accept your comment as the answer.

webwoman, please place a comment on the below thread (a plea for help to this question from another category), and I will accept it as the answer and award points.

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=webimages&qid=20190900&jsessionid=123961003163428770

Thanks again.

Author

Commented:
This is just another comment going out to webwoman.  Follow the above link to get credit.

Thanks

Commented:
I thought I did that already... guess not. Sorry! Going now...

Explore More ContentExplore courses, solutions, and other research materials related to this topic.