![]() |
#1 |
Member
![]() Posts: 11
Karma: 40
Join Date: May 2008
Location: Lima, Peru
Device: Sony PRS 505
|
Why does RTF filesize increase?
I'm sure this has been answered but can't find it.
If you take a RTF file then format it the file size keeps increasing. I am sure it is storing the find and replace data For example I took a plain text file then saved it as RTF. Came out at 65k. Then used find and replace to replace double spaces with single spaces. Out to 112k. Next find and replace double line breaks and became 182k. Every time you find and replace the file size increase. I always then save as plain text... down to about 30k, resave as RTF and finally only 50k with all of the extras removed. The problem is tho' any formatting is lost, headings bold etc with the final TXT. Is there anyway to minimise RTF file size? |
![]() |
![]() |
![]() |
#2 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,504
Karma: 8720163
Join Date: May 2007
Location: South Wales, UK
Device: Sony PRS-500, PRS-505, Asus EEEpc 4G
|
Drop the RTF file into Book Designer and make an LRF book. This is very compact, and you have the option of adding pictures, a table of contents etc.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 40
Join Date: May 2008
Location: Lima, Peru
Device: Sony PRS 505
|
Thanks for that.
Its just how I use my documents is that I quite often edit them, add bits so like to keep them as RTFs. I am sure there is a simple way to minimise file size, but have no idea how!!! |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 148
Karma: 5052779
Join Date: May 2007
Location: Long Island, NY
Device: Kobo Libra, Amazon Fire 10, Kobo Clara, Kobo Aura One
|
What program are you using to edit? In my experience, using word processors like NeoOffice or Microsoft Word tends to produce results similar to yours because they add hidden code to the file during formating.
If however, I use a simple text editor that handle RTF (example TextEdit on my Mac or Wordpad or Jarte on a Windows machine), the file size doesn't get so out of control. |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
BOb |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,247
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#7 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The best way to "strip down" Word RTF files is to load them, and then resave them, in WordPad. This removes all the extraneous material from them.
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
![]() |
![]() |
![]() |
#9 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Yeah, that is a drawback of WordPad.
![]() |
![]() |
![]() |
![]() |
#10 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Slim it down and THEN add the metadata.
|
![]() |
![]() |
![]() |
#11 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Yeah, but if it needs editing again later the meta data would have to be re-added.
![]() |
![]() |
![]() |
![]() |
#12 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
True, you could always do that.
I think, though, the best answer is to simply load it into BD and generate an LRF book. Takes only a few minutes to do and that way you can have pictures, a TOC, etc. |
![]() |
![]() |
![]() |
#13 |
Gizmologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
|
Oh I agree, but I want to archive the things in RTF -- I'm fairly confident in the format's longevity, you see.
![]() |
![]() |
![]() |
![]() |
#14 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
What I do for archival these days is, after I've created my nice book in BD, I export it from BD as HTML.
|
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Keep you book files in calibre which stores metadata separately in its database and writes it to the ebook files whenver you save them to disk or send them to your reader.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RTF tip - Instantly reduce filesize by 40% | garbanzo | Other formats | 10 | 03-21-2011 04:19 AM |
RTF into Sigil - need RTF->HTML converter | Daemon | Sigil | 8 | 09-21-2010 03:56 PM |
Keep getting "Page Error" on epub file when I open it on my PRS-300 (filesize > 25MB) | ryancolm | Sigil | 6 | 09-03-2010 10:45 AM |
PRS-500 RTF Tools - a simple tool for batch edtiting your rtf ebooks | boradicus | Sony Reader Dev Corner | 11 | 05-06-2008 11:41 AM |
Mobigen filesize smaller when using Mobigen instead of Creator? | pvdv | Kindle Formats | 3 | 03-06-2008 02:28 PM |