Previous in Forum: Reformatting USB Drives   Next in Forum: Inexpensive CAD Software
Close
Close
Close
5 comments
Rate Comments: Nested
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6

Size of an .RTF File After Inserting an Image

11/13/2008 2:26 PM

Dear collegues!

I was working on copying a web page's text + image in an .rtf file

to make Help file in html [MHT]. As the images are inserted after

text & was astonished how the size of an .rtf file is not increased.

An RTF; file size =14 KB an image of size 3KB inserted. Size Increased to

477KB.

Height of image is = Font Times New Roman size= 17 Pixels x 45 Pixels long ###

covers height = 160 pixels in full length that is 1,000 pixels.

I can't add another image of the same size to the right of original image

I think it is due to that system decides the size for an image of 45 x 1,000 Pixels.

I produced an empty image of the same size Clipboard.bmp & IrfanView's Data is @@@ below:

### measured wth JRuler.exe [PixelPerInch=96]

JRuler for Windows 95/98/2000/NT/ME/XP Version: 3.0 (May 18, 2004)

HomePage/Support: http://www.spadixbd.com/jruler/

Irfan-View shows:

IrfanView - Image properties

%%% data copied with from the Window "IrfanView - Image properties"

with TextGrabber.exe by Eric VanHeest

----------------------------

File name: Cheers.bmp Directory: J:\

Full path: J:\Cheers.bmp

Compression:None Original size:50 x 19 Pixels (2.63)

Current size:50 x 19 Pixels (2.63)

Print size (from DPI): 1.8 x 0.7 cm; 0.7 x 0.3 inches

Original colors:16,7 Millions (24 BitsPerPixel)

Current colors: 16,7 Millions (24 BitsPerPixel)

Number of unique colors: 169 Disk size:2.87 KB (2,942 Bytes)

Current memory size:2.86 KB (2,928 Bytes)

Current directory index: 19/61

File date/time: 10-Nov-08 / 11:09:24

-----------

@@@

IrfanView - Image properties

File name: Clipboard.bmp Directory: J:\

Full path: J:\Clipboard.bmp

Compression:None

Resolution: 96 x 96 DPI

Original size: 1000 x 45 Pixels (22.22)

Current size: 1000 x 45 Pixels (22.22)

Print size (from DPI): 26.5 x 1.2 cm; 10.4 x 0.5 inches

Original colors: 16,7 Millions (24 BitsPerPixel)

Current colors: 16,7 Millions (24 BitsPerPixel)

Number of unique colors: 1

Disk size: 131.89 KB (135,054 Bytes)

Current memory size: 131.88 KB (135,040 Bytes)

Current directory index: 20/61

File date/time: 13-Nov-08 / 22:06:54

Loaded in: 0 milliseconds

I hope collegues on CR4 will help to add their views / comments / Tips

on my job in producing smallest possible .rtf file

Regards

Register to Reply
Pathfinder Tags: .RTF file
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Power-User

Join Date: Aug 2007
Location: Bridgeport, New Jersey, USA
Posts: 109
Good Answers: 6
#1

Re: Size of an .RTF File After Inserting an Image

11/13/2008 5:13 PM

Hello, Haajee and a salaam aleichem (sp?) to you.

I am not sure that using an RTF file will get you anywhere. Microsoft apps are notorious for bloating files up where graphics are involved. Adding a 20K JPG-type file to a typical Word document makes the document grow by over 100K because the JPG image gets converted to a very-incompressible bitmap file.

Why do you want to use Rich Text anyway? Is this an ONLINE help file or will it be printed? Must you EMBED the graphics in the file, or can you link to them in another directory on the computer?

With a few more details, we might be able to set you on a better path.

__________________
"For a successful technology, reality must take precedence over public relations, for Nature can not be fooled." - Richard Feynman
Register to Reply Score 1 for Good Answer
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6
#2
In reply to #1

Re: Size of an .RTF File After Inserting an Image

11/14/2008 9:10 PM

Regards thanks.

I will send more details soon.

Regards

Register to Reply
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6
#3
In reply to #1

Re: Size of an .RTF File After Inserting an Image

11/16/2008 8:16 PM

Kind regards.

I am sorry that I could not understand your COMPLIMENTS & my reply was not like yours.

My reply is "May God bless you !!!!!!!!!! ... !!!!

Now some about the topic.

1. "Why do you want ... "

You judged the correct intention of my trial.

I know the compctness of HTML files. In most of the programs give in html format.

As far as formated-text is concerned it is quite simple to be saved / written in an .rtf file.

A reasonable size of file; can be written/ opened /edited by Windows Wordpad.

But where an image is involved my chioce remains an .MHT [mhtml] file; as images & text format

remains in-tact in a single file.

An HTML file makes a folder for images & scripts like:

Original file:

A-level Computing-Print version - Wikibooks, collection of open-content textbooks.htm

and the folder for images & scripts etc:

A-level Computing-Print version - Wikibooks, collection of open-content textbooks_files

The problem is if I like to send by E-mail only file is attatched.

If I attatch .MHT file at least my Mail client ie On-line Mail-client does not recognise

it with the recipient's side.

I therefore was trying to have a solution.

PDF file is also the chioce, but I have to consider the capabillity of others to whom I contact.

I am thankful to you for advice.

Waa Alaikum Salaam = And blessings of God to you too!!!

Note: In transliteration of Arabic## words there in no standard format, as in "salaam aleichem".

ch = k in some coutries but K= as in Kin, Kid; but ch= as in chat, chapter etc

[ ## & Arabic-based languages like URDU, Persian etc etc]

Sorry I have gone off-the -topic.

Regards

Register to Reply
Power-User

Join Date: Aug 2007
Location: Bridgeport, New Jersey, USA
Posts: 109
Good Answers: 6
#4

Re: Size of an .RTF File After Inserting an Image

11/18/2008 9:16 AM

It seems we have two possibilities to explore -

Option "A" - Create a document of some type with the images EMBEDDED in it, that is viewable by the average user, and also emailable with no loss of image, but whose size may become unmanageable, or

Option "B' - Create a document with "linked" images that is smaller than Option "A" document, but may not email well because of the linked images being "off-site", so to speak.

Have you explored the options of 3rd party software such as RoboHelp? I am not personally familar with their intracacies but they may be able to produce files with smaller footprints than option "A". The only other choice I can suggest is perhaps using Powerpoint to see if your pages become smaller than with RTF type.

BTW, you recognize the mountain in my avatar, I hope. Pakistan's most awe-inspiring area...

__________________
"For a successful technology, reality must take precedence over public relations, for Nature can not be fooled." - Richard Feynman
Register to Reply
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6
#5
In reply to #4

Re: Size of an .RTF File After Inserting an Image

11/18/2008 1:16 PM

Thanks & Regards.

I will try to see all options.

Oh !!!!! thanks to invite my attention to your avatar; that is K2 & surroundings.

Thanks

Register to Reply
Register to Reply 5 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!

Previous in Forum: Reformatting USB Drives   Next in Forum: Inexpensive CAD Software

Advertisement