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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-02-2013, 08:06 AM   #1
Corpsegoddess
Groupie
Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.
 
Corpsegoddess's Avatar
 
Posts: 172
Karma: 154194
Join Date: Jul 2011
Location: Vancouver, BC
Device: Black Kobo Touch, Onyx Aura
Reducing the size of epub files?

Hey all...

I tried doing a search but couldn't find anything.

Is there a way to reduce the size of larger epub files? I have a few that seem to be very large, even though they don't contain illustrations or anything like that. They're generally the kepubs I buy from Kobo--I've noticed those tend to be on the larger side.

Not sure if this is a silly question or not, but I figured it couldn't hurt to ask.
Corpsegoddess is offline   Reply With Quote
Old 01-02-2013, 08:38 AM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Are you sure contain no images? Open them up with a zip program or Sigil and see if any images are shown. It may be that some pages have been saved as images instead of converted to text.

You might also check the stylesheet and see how many items are there. If it is converted poorly from Word, it could be bloated with huge numbers of extra styles which take up space in the stylesheet and even more in the text.
mrmikel is offline   Reply With Quote
 
Advertisement
Old 01-02-2013, 08:46 AM   #3
Corpsegoddess
Groupie
Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.Corpsegoddess can grok the meaning of the universe.
 
Corpsegoddess's Avatar
 
Posts: 172
Karma: 154194
Join Date: Jul 2011
Location: Vancouver, BC
Device: Black Kobo Touch, Onyx Aura
Hmm.

I'm very sure that the ones I have in mind don't contain illustrations, so I'll have to figure out working with the stylesheet, which I haven't played with yet. And I'm new to Sigil, so that will take a bit of mucking about as well.

Thanks for the response!
Corpsegoddess is offline   Reply With Quote
Old 01-02-2013, 08:47 AM   #4
DSpider
Evangelist
DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.
 
DSpider's Avatar
 
Posts: 433
Karma: 326969
Join Date: Nov 2009
Location: Romania
Device: PW2 2014
There's also the issue with embedded fonts. Acrobat can subset glyphs from a font for PDF files, whereas ePub files will contain the entire font. This means that if you're only using one character from a 600 KB font file, the entire font file will be embedded, where it would only take 6-10 KB in a subset. And if you use 10 different 600 KB font families... You get the idea.

But in general, images usually take up the most amount of space.

Last edited by DSpider; 01-02-2013 at 08:50 AM.
DSpider is offline   Reply With Quote
Old 01-02-2013, 11:34 AM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
The images may not be illustrations, but whole pages. Or there may be hidden spacers.

Just start Sigil, Open the file and look in the left side under the book browser. There will be a folder for Styles. If there is a plus on it, click it and any stylesheets will appear. Double click on any one of them and it will appear in the main window.
Then you can look at it to see what is there.

Otherwise, click on any + that is with the Images folder and see what pops up.

Ditto with the fonts folder.

You don't have to know what to do about anything you find, but at least it will put you on the track of what might be making the file large.
mrmikel is offline   Reply With Quote
Old 01-02-2013, 12:03 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,556
Karma: 44291176
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Corpsegoddess View Post
They're generally the kepubs I buy from Kobo--I've noticed those tend to be on the larger side.
Kepub is not epub. No matter how similar the names sound. Keypubs contain database-like elements for all kinds of extra "features." If file-size is that much of a concern, then re-download the books from Kobo in the standard epub format instead of their proprietary keypub format. I think you'll find the size more like what you would expect, based on content.

Last edited by DiapDealer; 01-02-2013 at 02:43 PM.
DiapDealer is offline   Reply With Quote
Old 01-08-2013, 06:39 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,693
Karma: 19643753
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by DSpider View Post
There's also the issue with embedded fonts. Acrobat can subset glyphs from a font for PDF files, whereas ePub files will contain the entire font. This means that if you're only using one character from a 600 KB font file, the entire font file will be embedded, where it would only take 6-10 KB in a subset. And if you use 10 different 600 KB font families... You get the idea.

But in general, images usually take up the most amount of space.
Calibre allows font subsetting. It works very well and can reduce the size of the embedded fonts significantly. Also, if you have fonts embedded that do not get used, they get removed for an even greater size reduction.

What I do is take the finished ePub, load it into Calibre, convert to ePub using subsetting and then I take the font directory out of the converted ePub, replace the font directory in the finished ePub, fix the CSS/OPF as needed to match the fonts and done. Now I have an much smaller ePub with subsetted fonts.
JSWolf is online now   Reply With Quote
Old 01-09-2013, 05:39 AM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,188
Karma: 7422141
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Calibre does? That would be nice. Perhaps I should look up the part in the source that does the subsetting and see if I can use it outside Calibre.
Toxaris is offline   Reply With Quote
Old 01-09-2013, 09:14 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,693
Karma: 19643753
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Toxaris View Post
Calibre does? That would be nice. Perhaps I should look up the part in the source that does the subsetting and see if I can use it outside Calibre.
It does and it works in both ADE and KF8 (at least on eInk Kindles).
JSWolf is online now   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
Reducing Paperwhite Glowlight/Screensaver Timeout? rubbercow Kindle Developer's Corner 3 08-30-2013 03:11 PM
Removing files of zero size in Calibre zynster Library Management 4 05-21-2012 08:40 AM
Calibre reducing image sizes? HarryT Conversion 2 04-21-2011 09:18 AM
PRS-600 Reducing glare with plastic cover NoHolyGrail Sony Reader 2 08-05-2010 11:15 PM
Reducing line spacing rjcroy Kobo Reader 3 06-11-2010 10:23 PM


All times are GMT -4. The time now is 11:46 AM.


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