![]() |
#1 |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 9940
Join Date: Dec 2014
Device: N/A
|
Trimming .epub and .mobi files for size?
I have noticed some files in both formats are much larger than other books of similar length and image content. My library is mostly fiction and the smallest are in the 200-300kb range and many are 2mb or more with no real difference in image content etc. From looking around at my larger files I see fonts take up the majority of the space (80% of file size in one instance). Can I just delete all but one font from the "font" folder in both formats without any other adverse effects? I could reduce my library size by a huge amount if this is workable. If it is doable is there a way to automatically remove all these superfluous fonts or is picking them out manually the only way?
Last edited by FlyHero; 01-20-2018 at 12:30 PM. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 101670
Join Date: Dec 2010
Location: GB
Device: miflalmXD
|
Generally you can completely remove all fonts without any problems.
Exception: If there is a special character in an ebook (e.g. from a foreign language or a mathematical formula sign: ý, ƾ, ؾؾ, ∑ or similar), you can at least reduce the size of the fonts by using a (built in) Calibre plugin. I don't know the english name of the plugin. In German language it is called "Bücher perfektionieren", translated anything like "make your book perfect". This plugin deletes all unused letters of the font and it additionally reduces the size of the images. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Some eBooks such as those from Penguin Random House have useless fonts embedded. They have one XHTLM file that uses those fonts and that file can be deleted as well as the associated fonts. Also, I reduce the size of the cover and titlepage graphics down to 1600 lines. And in most cases, I'll losslessly compress at 80% as most of the graphics used it won't be an issue. I'll also remove any extra bits like a review page, any advertising and any associated graphics. Also, any previews go along with the graphics (if any). Also gone is about the publisher and books by the author. I'll also remove unused CSS as that can make the book perform better without the sum times hundreds of unused CSS. Also, if there are embedded fonts that I'm not deleting, I'll subset them. After all of this, I can significantly reduce the some of some ePub. I'm using the Calibre editor for these things.
As for Mobi, you cannot edit them, so don't start with Mobi. Saying that, you can do these sorts of edit on KF8 (AZW3). If ePub is your source and a Kindle supports KF8 or KFX , convert to KF8 or KFX (if it works using the KFX conversion plugin and your device supports KFX) and forget Mobi exists. Last edited by JSWolf; 02-25-2018 at 11:41 AM. |
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Don't bother with Polish Books. You are better off with the Editor. It can do those two things. Plus a lot more like being able to remove the excess junk you don't need that I mentioned in the third message in this thread.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
You can select 100 books, run Polish Books, set the options you want for font subsetting, click start, and go have a cup of coffee while it handles them all. |
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So if you want to reduce eBook size as much as possible, you do have to use the editor. |
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,801
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
If you know any programming/scripting languages, I'd just suggest making a tool to do exactly what you want. I can also second what JSWolf said about the Random House books. Those are actually pretty easy to automatically clean up, as every book has the same layout.
Another way I reduce the size is to reencode the cover images. This usually cuts a significant amount off the size. My books, after stripping the unnecessary fonts and reencoding the cover image usually end up being ~300kb each. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Size of mobi much larger than epub? | comet | Kindle Formats | 8 | 11-12-2023 05:11 PM |
18MB EPUB converts to 40MB Mobi! What can I do to reduce Mobi file size? | perdman | Conversion | 11 | 12-09-2017 04:18 AM |
Reducing the size of epub files? | Corpsegoddess | ePub | 8 | 01-09-2013 08:14 PM |
Unwanted epub files once mobi files have been converted. | fletchdt | Conversion | 5 | 03-22-2012 10:18 PM |
How to increase teh size of images in .mobi files | nvr | Kindle Formats | 2 | 01-12-2010 11:23 AM |