Main Topics
Browse All TopicsHi
I am working with document imaging. I found that TIFF is big and not easy to work with but still working with one file. While JPEG is mutiple files.
What do you suggest me to do?
1- Create table as { ID, TheTiff }.
2- Create table as { ID, PageNo, TheJPEG }.
I want to scan them from a TWAIN and upload them to a SQL 2000 table.
I need suggestions?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Depends a little bit on what you want to do with them. Would be inclined to sae the image externally from the database in a "shared" or globally accessable disk folder and store the name and file path in the database. That way if TIFF best represents the nature and type of information you want to present back to the users then the size becomes a little less important. If the information is "image" by 'image" specific such as the way you desribe the jpg version, then in the database you could also add in "tags" or "keywords" so that individual images can be retrieved without having to download the whole lot.
Hi James (cs97jjm3), Didn't actually see your earlier post until just then... yet another case of great minds and all that...
Given the "great minds" reinforced of course by the other experts, then you should be creating the table as :
create table tbl_image_locations (
ID int identity primary key clustered,
Document_Reference varchar(20), -- maybe int linking back to other document attributes (such as reviews, content, keywords, whatever)
Image_Location varchar(255), -- full path
Image_Name varchar(100)) -- Name on disk - could also use the ID as the name
obviously there could be type of image and a few other attributes to do specifically with the image...
There is a whole pile of code examples for this type of thing in sourcecodeonline - for example
"document management" http://www.sourcecodeonlin
or "liquid frog" http://www.sourcecodeonlin
or and image turorial http://www.sourcecodeonlin
or TIFF handling (have a look at 360 - can do the PDF convert as well) http://www.sourcecodeonlin
or codeproject for similar tools and more dialogue such as : http://www.codeproject.com
Thanks for the points, but if we had not answered you correctly, then you could have kept asking...
My two cents worth : TIFF is more of a methodology / instruction set for image formats - and not all TIFF are the same so you need to be careful and would have to provide your own tiff "handler" for presenting back. It is however better quality and considerably larger than JPG - which is really a compression technique more so than a native format.
If you have a need for quality then TIFF is the better bet - but the size will hurt most browsing networks / casual users. If it needs to be representative then JPG can save quite a bit on size and space so is more network friendly.
Given the low user count, and the 2000 papers (is that images - or - how many pages per paper), then I would be inclined to go TIFF (being multipage and therefore easier to manage a single paper).
However, with such a low user count, then security should not be a problem either inside or outside a database. Make them all part of a role - say "imageuser" and then deny access to anyone who is not imageuser (or admin). In fact can hide that entire folder, or have it mapped only for their logins, or just for the application used to display. To keep it inside a database because of security is not entirely neccessary, and given the size that TIFF can run into then think very carefully about the impact of a largish database on the server.
Business Accounts
Answer for Membership
by: AlmatrodiPosted on 2009-01-15 at 08:42:05ID: 23385150