Reputation: 9361
I don't know much about image types, especially when it comes to an extension called .tif.
My current customer obtains the case results from the court as a .tif file by connecting to Court database via SOAP/CURL. Right now, he is manually converting every .tif file to .jpeg with a third party application and uploading them to his server. However, he is having storage issues because the documents sometimes may be bigger than 100 pages, hence 100 different .tif files.
He also told me that the .tif files the database sends is pretty small comparing to his JPEG types so he's willing to upload them directly if he can find a way to show .tif files in the website.
Basically, we have two task:
Any suggestions would be greatly appreciated. I'm looking for long term solutions instead of saving the day.
Ps. the Court db doesn't send anything else except .tif files.
Upvotes: 0
Views: 2635
Reputation: 1201
If you end up with bigger jpeg files than the TIFF file this maybe means that the TIFF files are CCIT Fax4 images (bilevel images often generated by scanner software) and that your JPEG files end up as RGB (24bit) images. The best you can do while targeting the web is to convert them as either GIF or paletized PNG files. I would'nt go with JPEG compression as it will generate too much artefacts on black and white text images.
Upvotes: 3