Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2014, 06:01 AM   #1
Feather_Qwill
Member
Feather_Qwill began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2013
Device: EZReader Pocket Pro
Question Converting (Kobo) epubs to reduce file size?

Does anyone know of any method to reduce the bloated filesizes of Kobo epubs? I'm talking 2-3 MB per book (from Kobo), as opposed 250-350 KB (From other sources, such as OmniLit). I was thinking the Convert Book option would do it, but although I've been able to fix some of the other issues (ie, fonts that grow and shrink every couple of paragraphs), nothing I've done so far has significantly changed the file size.

Please help!
Feather_Qwill is offline   Reply With Quote
Old 01-30-2014, 07:58 AM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,869
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Feather_Qwill View Post
Does anyone know of any method to reduce the bloated filesizes of Kobo epubs? I'm talking 2-3 MB per book (from Kobo), as opposed 250-350 KB (From other sources, such as OmniLit). I was thinking the Convert Book option would do it, but although I've been able to fix some of the other issues (ie, fonts that grow and shrink every couple of paragraphs), nothing I've done so far has significantly changed the file size.

Please help!
Unpack the book and see where the TOTAL size is coming from.
THEN make a plan
theducks is offline   Reply With Quote
Old 01-30-2014, 11:26 AM   #3
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,841
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
It may well be because the html files in Kobo-style epubs (kepubs) are full of extra <span> tags, e.g. <span class="koboSpan" id="kobo.32.1">some paragraph text</span>. These wouldn't be removed by a calibre conversion as it is perfectly valid code. A long book may have many thousands of them, which adds up.

As theducks says, if you open one up you can see them. With a bit of fancy Regex search/replace all you may be able to remove them to turn the kepub back to a standard epub, but the risk of deleting actual book content makes this rather risky and I wouldn't recommend it.

Edit: The other likely suspects are embedded fonts and/or a lot of images.

Last edited by jackie_w; 01-30-2014 at 11:32 AM.
jackie_w is online now   Reply With Quote
Old 02-06-2014, 01:34 PM   #4
BobC
Addict
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 350
Karma: 245756
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, Various Android Apps
Quote:
Originally Posted by jackie_w View Post
It may well be because the html files in Kobo-style epubs (kepubs) are full of extra <span> tags, e.g. <span class="koboSpan" id="kobo.32.1">some paragraph text</span>. These wouldn't be removed by a calibre conversion as it is perfectly valid code. A long book may have many thousands of them, which adds up.
Edit: The other likely suspects are embedded fonts and/or a lot of images.
The extra HTML markup will not contribute as much bloat as you might expect to the TOTAL book size. This is because of the mechanism used in the final zip compression of the component HTML files which tokenises commonly used "words".

A total size of 2-3Mb is likely to be, as mentioned, embedded fonts, assuming that both the Kobo and the OmniLit books both have the same images (or none at all).

BobC
BobC is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Size Increases when converting to epub icaria Conversion 3 10-11-2013 05:27 AM
File Size of ADE ePubs? MooseFam5 Conversion 4 12-27-2012 07:37 PM
How to reduce size of opf file??? karenbryant ePub 14 07-06-2012 03:59 AM
File Size when converting CBZ to mobi? Ito Conversion 2 05-09-2012 01:57 PM
18MB EPUB converts to 40MB Mobi! What can I do to reduce Mobi file size? perdman Conversion 7 08-27-2011 02:40 PM


All times are GMT -4. The time now is 02:16 PM.


MobileRead.com is a privately owned, operated and funded community.