Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting TIF into RTF file is creating HUGE RTF file

Status
Not open for further replies.

smallbus

Technical User
Oct 15, 2002
2
US
We are in the process of creating documents that can be downloaded to the user's harddrive and we are trying to preserve the formatting of charts in tif files so the user can pick whatever editor they like without scrambling the document.

Our problem is that when we do this we get rtf files that are much, much larger than the rtf and tif files themselves.

Does anyone have any possible solutions to this problem?
 
if I remember correctly TIF files are images. RTF (rich text format) are similar to word documents.

You are telling me that you are putting TIF files inside RTF documents so people can download them. Is that right?

TIF files are extremely huge files if I recall right. You should try compressing them using JPG or PNG to make them much smaller. Gary Haran
 
Just to verify what was happening in going to the rtf format, I just tried converting the same image into various graphic formats. The LZW compressed tif was significantly smaller than other formats. Then I put each graphic format into a blank rtf document where the graphic was the only thing inserted in the rtf document. The RTF with the LZW compressed tif was 10 times the size of the tif but it was still the smallest rtf document format.

Format File size in kb Rtf in kb
GIF 898 10649
Jpg 780 10721
Uncompressed tif 4483 10688
Lzw compressed tif 97 1311
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top